html {
    scroll-behavior: smooth;
  }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 130px;
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
}

.top-bar {
    background: #2e1503;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
}

.top-bar .contact-info span {
    margin-left: 10px;
}

.social-ic {
    display: flex;
    align-items: center;
}

.social-ic a {
    text-decoration: none;
    color: white;
    margin-left: 10px;
    font-size: 18px;
    display: flex; 
    align-items: center;
}

.social-ico a img {
    width: auto;
    height: auto;
    max-height: 30px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 20px;
    position: relative;
}

.logo img {
    height: 100px;
    margin-left: 20px;
    margin-top: -10px;
}
.nav-links {
    display: flex;
    gap: 20px;
    margin-left: 450px; /* Yeh automatically right align karega */
    /* margin-right: auto; Yeh automatically center align karega */
}
.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.quote-button {
    background: #2e1503;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}
.menu-icon {
    display: none; /* Hide menu icon by default */
}
/* ======= Mobile Styles ======= */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        font-size: 30px;
        cursor: pointer;
        padding: 5px;
        margin-right: 15px;
        z-index: 1100;
    }
  
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: white;
        text-align: center;
        padding: 15px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        margin-left: 0 !important; 
    }

    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        display: block;
        width: 100%;
        padding: 15px;
        border-bottom: 1px solid #ddd;
        font-size: 18px;
        font-weight: bold;
    }

    .quote-button {
        text-align: center;
        display: block;
        margin-top: 10px;
        font-size: 16px;
        padding: 12px;
    }
    .top-bar{
        font-size: 10px;
    }
    .social-ic{
        height:0px;
        width: 150px;
    }
}

.img1 {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  
  .img1 img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
  }
  
  .img1 .text {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.4); /* Optional dark overlay */
    border-radius: 10px;
  }
  
  .img1 .text h1 {
    font-size: 48px;
    margin: 0;
  }
  
  .img1 .text p {
    font-size: 18px;
    margin-top: 10px;
  }
  @media (max-width: 768px) {
    .img1 img {
      height: 250px;
    }
  
    .img1 .text h1 {
      font-size: 28px;
    }
  
    .img1 .text p {
      font-size: 14px;
    }
  }
    

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fdfaf1;
    /* border: 3px solid #e87722; Border added */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.dev {
    width: 60%;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.year {
    width: 50%;
    text-align: center;
    font-size: 34px;
    font-weight: bold;
    color: #5a3d00;
    position: relative;
    opacity: 0;
    animation: dropText 1s ease-in-out forwards;
}

/* Animation for year + | symbols */
.year h1,
.year p {
    opacity: 0;
    transform: translateY(-50px);
    animation: dropText 1s ease-in-out forwards;
}

.year h1:nth-child(1) { animation-delay: 0.1s; } /* First "|" */
.year h1:nth-child(2) { animation-delay: 0.3s; } /* "2023" */
.year p { animation-delay: 0.5s; } /* "when it all began" */
.year h1:nth-child(4) { animation-delay: 0.7s; } /* Last "|" */

.high {
    color: #ff8c00;
    font-size: 40px;
}

.highlight {
    font-weight: bold;
    color: #e87722;
}

/* Keyframes for drop animation */
@keyframes dropText {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

h1, h2, h3 {
    font-family: 'Helvetica', sans-serif;
}

@media (max-width: 768px) {
    .img1 img {
        height: 250px; /* Reduce image height */
    }

    .img1 .text {
        bottom: 10px;
        padding: 8px 15px;
    }

    .img1 .text h1 {
        font-size: 22px;
    }

    .img1 .text p {
        font-size: 14px;
    }

    .content {
        flex-direction: column; /* Stack elements */
        text-align: center;
        padding: 15px;
    }

    .dev {
        width: 100%;
        font-size: 16px; /* Reduce font size */
    }

    .year {
        width: 100%;
        font-size: 24px; /* Reduce size */
    }

    .high {
        font-size: 30px; /* Smaller highlight text */
    }

    .year h1,
    .year p {
        font-size: 20px; /* Reduce year font */
    }
}


/* Top Bar */

/* First Section - Image Left, Text Right */
.first-section {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background-color: #fdfaf1;
    /* border: 3px solid #e87722; */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.first-section .imgg {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s ease-in-out forwards;
}

.first-section .imgg img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Text Styling */
.first-section .text {
    flex: 1;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s ease-in-out forwards 0.2s;
}

.first-section .text h2 {
    font-size: 28px;
    font-weight: bold;
    color: #e87722;
}

.first-section .text p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

/* Animation */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .first-section {
        flex-direction: column;
        text-align: center;
    }
}

/* Second Section - Text Left, Image Right */
.second-section {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background-color: #fdfaf1;
    /* border: 3px solid #0073e6; */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Text Styling */
.second-section .text {
    flex: 1;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s ease-in-out forwards 0.2s;
}

.second-section .text h3 {
    font-size: 28px;
    font-weight: bold;
    color: #0073e6;
}

.second-section .text p {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

/* Image Styling */
.second-section .imggg {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s ease-in-out forwards;
}

.second-section .imggg img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .second-section {
        flex-direction: column;
        text-align: center;
    }
}


h1, h2, h3 {
    font-family: 'Helvetica', sans-serif;
}


/* About Us Section */
h2 {
    text-align: center;
    margin-top: 50px;
}

footer {
    background: #222; 
    color: white;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif; 
    min-height: 250px; 
    clear: both; 
}
.footer-section a {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Inherits the text color (white in this case) */
}
.footer-section a:hover {
    color: #A06A3F; /* Change color on hover */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    width: 23%;
}

.footer-section h3 {
    color: #A06A3F;
    font-size: 18px;
}

.footer-section p, .footer-section ul {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section .social-icons a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    margin-right: 10px;
}

/* Newsletter section */
.newsletter input {
    padding: 10px;
    width: 70%;
    border: none;
    margin-top: 10px;
}

.newsletter button {
    background: #A06A3F;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}
main{
    background-color: #fffaf1;
}

/* Footer Bottom Section */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    
    padding-top: 20px;
    border-top: 1px solid #444;
    padding-bottom: 20px; 
}

/* Mobile View */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* Achievement Section Styling */
.achievement-section {
    text-align: center;
    padding: 50px 20px;
    background: #fdf7f0;
    
}

.achievement-title {
    font-size: 32px;
    font-weight: bold;
    color: #2e1503;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.achievement-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 50px;

    
}

/* Image Grid Styling */
/* Achievement Section */
.achievement-section {
    text-align: center;
    padding: 50px 20px;
    background: #fdf7f0;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-title {
    font-size: 32px;
    font-weight: bold;
    color: #2e1503;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.achievement-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* Image Grid (First row: 3 images, Second row: 2 images) */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    max-width: 900px;
    margin: 0 auto;
}


/* Ensure second row has only 2 images */
.achievement-box:nth-child(4),
.achievement-box:nth-child(5) {
    grid-column: span 1;
}

/* Box Styling */
.achievement-box {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.achievement-box  img {
    width: 100%;
    height: auto;
    max-width: 250px;
    border-radius: 10px;
}

/* Hover Animation */
.achievement-box:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}


/* Responsive Design */
@media (max-width: 768px) {
    .achievement-title {
        font-size: 26px;
    }

    .achievement-text {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Stack images on smaller screens */
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .achievement-box img {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .achievement-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .achievement-box img {
        max-width: 100%;
    }
}

