
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #0a1f44; 
    color: #fff;
}

/* Portfolio Section Specific Background */
#portfolio {
    padding: 40px 0;
    background-color: #0a1f44; /* Match the brand's primary background */
    color: #fff;
}

.project {
    background-color: #fff; 
    color: #000; 
    border-radius: 8px; 
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); 
}


.container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Header Styles */
header {
    background: #007bff; /* Change to your brand color */
    color: white;
    padding: 20px 0;
}

header h1 {
    margin: 0;
    text-align: center;
}
.navbar {
  display: flex;
}
nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 0;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-button {
    background: #28a745; /* Change to your brand color */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* About Section */
#about {
    padding: 40px 0;
 
    text-align: center;
}

/* Services Section */
#services {
    padding: 40px 0;
}

#services h2 {
    text-align: center;
}

#services ul {
    list-style-type: none;
    padding: 0;
}

#services li {
    margin: 20px 0;
}

/* Portfolio Section */
#portfolio {
    padding: 40px 0;
}

.portfolio-gallery {
    display: flex;
    flex-wrap: nowrap; 
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.portfolio-gallery::-webkit-scrollbar {
    width: 10px;
}

.portfolio-gallery::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 10px;
}

.project, .card {
    flex: 0 0 82%;
    border: 1px solid #ddd;
    padding: 20px;
    margin-right: 10px; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}

.project h3 {
    font-size: 1.5em;
}

.project p {
    font-size: 1em;
    line-height: 1.6;
}

/* Blog Section */
#blog {
    padding: 40px 0;
    background: #3a0ca3;
}
.card {
    animation-name: fade;
    animation: 400ms ease-in both;
    animation-timeline: view();
    animation-range: entry;
    animation-name: fade;
    animation-delay: 2s;
    margin-bottom: 5px;
}

.blog-post {
    margin: 20px 0;
    animation-name: fade;
    animation: 400ms ease-in both;
    animation-timeline: view();
    animation-range: entry;
    animation-name: fade; 
    animation-delay: 2s;
            
  }
        

        @keyframes fade{
          0%{
            transform: scale3d(2.5);
            opacity: 0;
            filter: blur(10px);
            transition: all 400ms ease-in;
            
          }
          100%{
            transform: scale3d(1);
            opacity: 1;
            filter: blur(0px);
           
            transition: all 400ms ease-in;

          }
        }

/* Contact Section */
#contact {
    padding: 40px 0;
    background-color: #0a1f44;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Footer Styles */
footer {
    background: #007bff; /* Change to your brand color */
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 10px 0;
}

footer ul {
    list-style-type: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}


@media screen and (min-width: 700px) {
  .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.portfolio-gallery.flex {
  
}

.project, .card {
    flex: 0 0 44%;
    border: 1px solid #ddd;
    padding: 20px;
    margin-right: 10px; 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}
}