/* ===== SOFT RESET ===== */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth; /* smooth anchor scroll */
   
}
html { background: #111; }


/* ===== NAVBAR ===== */
.navbar {
    background: #000;
    color: #fff;
    padding: 25px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ===== LOGO ===== */
.logo {
    font-size: 24px;
    font-weight: bold;
}
.logo span {
    color: orange;
}

/* ===== LINKS ===== */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* Active link state */
.nav-links a.active,
.nav-links a:focus {
    color: orange;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: orange;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: red;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== HAMBURGER ===== */
#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: orange;
    transition: all 0.3s ease;
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    #menu-toggle:checked + .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #menu-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
    #menu-toggle:checked + .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        background: #000;
        width: 100%;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-links a { padding: 15px 0; }
    #menu-toggle:checked ~ .nav-links { max-height: 500px; padding-bottom: 20px; }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;      
    display: flex;
    align-items: center;
    justify-content: center;
     animation: fadeIn 0.3s ease-in-out;
}

/* HERO IMAGE */
.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;       /* Image covers the entire section */
    object-position: center;
    z-index: 0;
    
}

/* OVERLAY */
.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25); /* Subtle overlay */
    z-index: 1;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    color: #fff;
}

.hero-content h1 {
    font-size: 42px;
    color: orange;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6); 
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #eee;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.hero-content button {
    background: red;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-content button:hover {
    background: orange;
}

/* Anchor styled like the hero button */
.cta-btn {
    display: inline-block;
    text-decoration: none;
    background: red;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn:hover {
    background: orange;
    color: #fff;
    text-decoration: none;
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 768px) {
    .hero-section { min-height: 420px; }
    .hero-content h1 { font-size: 26px; }
    .hero-content p { font-size: 14px; }
    .hero-content button { padding: 10px 22px; font-size: 14px; }
}

/* ===== ABOUT US SECTION ===== */
.about-section {
    width: 100%;
    background: #111; /* Dark background */
    color: #fff;
    padding: 80px 0px;
    text-align: center;
     animation: fadeIn 0.3s ease-in-out;
}

.about-section > h2 {
    font-size: 42px;
    color: orange;
    margin-bottom: 40px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 28px;
    color: orange;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    color: #eee;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-text button {
    background: red;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.about-text button:hover {
    background: orange;
}

/* Stats Cards */
.about-stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-card {
    background: #222;
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card h3 {
    font-size: 28px;
    color: orange;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 14px;
    color: #ddd;
}

/* Card hover effect */
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,165,0,0.4);
}

/* About image */
.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-section > h2 { font-size: 32px; }
    .about-text p { font-size: 16px; }
    .about-text button { padding: 10px 22px; font-size: 14px; }

    .about-stats { justify-content: center; gap: 15px; margin-top: 20px; }
    .stat-card { min-width: 100px; padding: 15px; }
    
    .about-image { margin-bottom: 30px; }
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    width: 100%;
    background: #111; /* dark background */
    color: #fff;
    padding: 80px 0px;
     animation: fadeIn 0.3s ease-in-out;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.projects-container h2 {
    font-size: 36px;
    color: orange;
    margin-bottom: 15px;
}

.projects-container p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 40px;
}

/* Grid layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Individual project card */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 69, 0, 0.7); /* semi-transparent red/orange overlay */
    color: #fff;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: orange;
}

.project-overlay p {
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .projects-container h2 { font-size: 28px; }
    .projects-container p { font-size: 16px; margin-bottom: 30px; }

    .project-overlay h3 { font-size: 20px; }
    .project-overlay p { font-size: 13px; }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    width: 100%;
    background: #111; 
    color: #fff;
    padding: 80px 0px;
    text-align: center;
     animation: fadeIn 0.3s ease-in-out;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container h2 {
    font-size: 36px;
    color: orange;
    margin-bottom: 15px;
}

.testimonials-container p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 40px;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

/* Individual testimonial card */
.testimonial-card {
    background: #222;
    padding: 70px 24px 24px; /* increased for larger image */
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 50px; /* space from top for all cards */
}

/* Client image circular at top center */
.client-img {
    position: absolute;
    top: -75px; /* pull circle up to overlap more */
    left: 50%;
    transform: translateX(-50%);
    width: 150px; /* larger circle */
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid orange; /* slightly thicker border */
    background: #fff;
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card hover effect */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,165,0,0.4);
}

.testimonial-card p {
    font-size: 16px;
    color: #eee;
    line-height: 1.6;
    margin: 30px 0 10px 0; /* adjust for client image */
    font-style: italic;
}

.testimonial-card h4 {
    font-size: 14px;
    color: orange;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .testimonials-container h2 { font-size: 28px; }
    .testimonials-container p { font-size: 16px; margin-bottom: 30px; }
    .testimonial-card p { font-size: 15px; }
    .testimonial-card h4 { font-size: 13px; }

    .testimonial-card {
        padding: 80px 18px 22px; /* more top padding for bigger image */
        margin-top: 24px;
    }

    .client-img {
        width: 95px; /* bigger on mobile too */
        height: 95px;
        top: -48px;
        border-width: 3px;
    }
}
/* ===== CONTACT SECTION ===== */
.contact-section {
    width: 100%;
    background: #111;
    color: #fff;
    padding: 80px 0px;
    text-align: center;
    margin-bottom: 0; /* ensure no gap at the bottom */
     animation: fadeIn 0.3s ease-in-out;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-container h2 {
    font-size: 36px;
    color: orange;
    margin-bottom: 15px;
}

.contact-container p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 40px;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    background: #222;
    color: #fff;
    outline: none;
    transition: background 0.3s, box-shadow 0.3s;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    background: #333;
    box-shadow: 0 0 5px orange;
}

.contact-form button {
    background: red;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: orange;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .contact-container h2 { font-size: 28px; }
    .contact-container p { font-size: 16px; margin-bottom: 30px; }
    .contact-form .form-group input,
    .contact-form .form-group textarea {
        font-size: 15px;
        padding: 10px 12px;
    }
    .contact-form button {
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* ===== FOOTER ===== */
.footer-section {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 70px 0px 0px 0px;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 220px;
}

.footer-column h3 {
    color: orange;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column ul,
.footer-column a {
    color: #ddd;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a:hover {
    color: orange;
}

.footer-section .social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #222; /* circle background matching theme */
    text-align: center;
    transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
    color: #fff;
    background: orange;  /* hover color matches theme */
    transform: scale(1.1); /* slight zoom effect */
}

/* Horizontal line */
.footer-section hr {
    border: 0;
    height: 1px;
    background: orange;
    width: 100%;
    margin: 30px auto 25px auto;
}

/* Footer bottom text */
.footer-section p {
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin: 0 0 10px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }

    .social-links a {
        margin-right: 10px;
    }
}

/* ===== FADE IN ANIMATION ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
