@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0056b3;
    --secondary-color: #0a1f4a;
    --accent-color: #ff6b00;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-section: #f4f7fa;
    --bg-footer: #081835;
    --text-main: #333333;
    --text-muted: #666666;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* Header & Nav */
header {
    width: 100%;
    z-index: 1000;
    position: relative;
}

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.nav-main {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}

.nav-main.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-main);
    text-transform: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--bg-section);
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background: rgba(0, 86, 179, 0.05);
    padding-left: 25px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 120px; /* Add gap between nav and text */
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 31, 74, 0.95), rgba(10, 31, 74, 0.6));
    z-index: 1;
}

.hero .container {
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.hero-content {
    max-width: 700px;
    padding-bottom: 50px;
    position: relative;
    z-index: 10;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    padding-bottom:2rem ;
}

.hero-image img {
    max-height: 100%; /* Balanced large size */
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transform: translateY(40px); /* Perfectly anchored to bottom */
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge i {
    color: var(--primary-color);
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: none;
}

.hero h1 span {
    color: var(--primary-color);
    background: linear-gradient(120deg, var(--primary-color) 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 550px;
}

/* Client & Quote Bar */
.quote-bar {
    background: var(--white);
    padding: 30px 0;
    box-shadow: var(--shadow-md);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 8px;
}

.quote-bar-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.quote-label {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 1.1rem;
    white-space: nowrap;
}

.quote-form {
    flex: 1;
    display: flex;
    gap: 15px;
}

.quote-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    outline: none;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-main-img {
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.experience-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-card h2 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1;
}

.experience-card p {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Services Section */
.bg-section {
    background-color: var(--bg-section);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
    border-radius: 8px;
}

.service-card:hover::after {
    height: 100%;
}

.service-card:hover {
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;
    color: var(--text-muted);
    flex-grow: 1;
}

.service-card:hover p {
    color: rgba(255,255,255,0.8);
}

.learn-more {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
}

.service-card:hover .learn-more {
    color: var(--white);
}

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

.project-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,86,179,0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
}

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

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

.project-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    padding: 60px 40px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    margin: 20px 0;
    color: var(--secondary-color);
}

.price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-features {
    margin: 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    color: var(--text-muted);
}

/* Testimonials */
.testimonial-section {
    text-align: center;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    opacity: 0.2;
}

.testimonial-text {
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 40px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

/* Footer */
footer {
    background: var(--bg-footer);
    color: var(--white);
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #aaa;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
}

/* Why Choose Us Section */
.why-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.why-content {
    flex: 1;
}

.why-image {
    flex: 1;
    position: relative;
}

.why-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.why-stats {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    gap: 40px;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.why-stats-alt {
    left: auto;
    right: -30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.benefit-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 4px; /* Shorter radius like reference */
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: none;
    position: relative;
}

.testimonial-rating {
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;
    gap: 3px;
}

.testimonial-rating i {
    color: #ff9500 !important; /* High-intensity Gold */
    font-size: 1.2rem !important; /* Slightly larger for impact */
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05); /* Subtle depth to help visibility */
}

.testimonial-text {
    font-weight: 400;
    color: #777e8b; /* Blueish grey from reference */
    margin-bottom: 40px;
    font-size: 1.15rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-initials {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.avatar-blue { background-color: #0056b3; }
.avatar-purple { background-color: #6c5ce7; }
.avatar-orange { background-color: #e67e22; }

.author-info h4 {
    font-size: 1.2rem;
    color: #2d3436;
    font-weight: 700;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 1rem;
    color: #777e8b;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e1e4e8;
}

.dot.active {
    background: #0056b3;
    width: 25px;
    border-radius: 10px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-section);
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.author-info p {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-section);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #fafafa;
}

.faq-answer p {
    padding: 0 25px;
    margin: 0;
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 0 20px 0;
}
.faq-item.active .faq-answer p {
    padding: 20px 25px 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-color: var(--primary-color);
}

.contact-info-card .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

/* Internal Page Specifics */
.page-header {
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
    background-color: var(--secondary-color);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.breadcrumbs a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumbs a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.breadcrumbs .current {
    color: var(--accent-color);
    font-weight: 600;
}

/* Mobile Navigation Defaults */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 5px;
}

.mobile-only-btn {
    display: none;
}

@media (max-width: 1024px) {
    .why-flex { flex-direction: column; gap: 60px; }
    .why-image { width: 100%; }
    .why-stats { left: 0; bottom: -20px; width: 100%; justify-content: center; }
    .why-stats-alt { right: auto; left: 0; }
    .hero h1 { font-size: 3rem; }
    .hero-image img { max-height: 60vh; }
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .benefits-grid, .services-grid, .pricing-grid, .projects-grid, .testimonials-grid, .values-grid, .about-features, .process-grid { grid-template-columns: 1fr !important; }
    .why-stats { flex-direction: column; gap: 20px; text-align: center; bottom: -50px; }
    .top-bar-flex { flex-direction: column; gap: 10px; text-align: center; }
    .top-bar-left { flex-direction: column; gap: 5px; }
    
    /* Mobile Navigation */
    .mobile-toggle { display: block; }
    .desktop-btn { display: none; }
    .mobile-only-btn { display: block; margin-top: 15px; }
    
    .nav-links { 
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 15px;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: block;
        padding: 0;
        margin-top: 10px;
    }
    
    .dropdown-menu a {
        padding: 8px 15px;
        background: rgba(0, 86, 179, 0.03);
        margin-bottom: 5px;
        border-radius: 4px;
        border-bottom: none;
    }

    .nav-flex { flex-wrap: wrap; position: relative; }
    /* End Mobile Navigation */

    .hero h1 { font-size: 1.8rem; letter-spacing: -1px; width: 100%; }
    .hero p { font-size: 0.95rem; width: 100%; }
    .hero { height: auto; padding: 120px 0 60px; min-height: auto; width: 100%; display: block; }
    .section { padding: 50px 0; width: 100%; }
    .section-header h2 { font-size: 1.8rem; }
    .page-header { padding: 120px 0 50px; }
    .page-header h1 { font-size: 2.2rem; }
    .experience-card { padding: 20px; position: static; margin-top: 20px; width: 100%; max-width: 100%; }
    .experience-card h2 { font-size: 2.2rem; }
    
    .logo { font-size: 1.4rem; }
    .hero-image { display: none !important; }
    .hero-content { width: 100% !important; max-width: 100% !important; text-align: center; padding: 0; margin: 0 auto; }
    .hero-flex { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; width: 100% !important; }
    .hero-btns { display: flex !important; flex-direction: column !important; width: 100% !important; gap: 10px; margin-top: 20px; }
    .hero-btns .btn { width: 100% !important; padding: 12px 25px; margin: 0; }
    .hero-reviews { justify-content: center; display: flex; align-items: center; }
    .quote-bar-flex { flex-direction: column; align-items: stretch; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-contact li { justify-content: center; }
    .social-links { justify-content: center; }
}

/* Our Work Slider */
.work-slider-container {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    width: 100%;
}

.work-slider {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: workSlide 35s linear infinite;
}

.work-slider:hover {
    animation-play-state: paused;
}

.work-card {
    width: 400px;
    height: 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(10, 31, 74, 0.9));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

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

.work-overlay h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
}

@keyframes workSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        /* (width + gap) * number of unique cards (6) */
        transform: translateX(calc(-430px * 6));
    }
}

@media (max-width: 768px) {
    .work-card {
        width: 280px;
        height: 200px;
    }
    @keyframes workSlide {
        0% { transform: translateX(0); }
        100% {
            /* (280 + 30) * 6 */
            transform: translateX(calc(-310px * 6));
        }
    }
}

/* Why Slider */
.why-slider {
    width: 100%;
    height: 500px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.why-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.why-slide.active {
    opacity: 1;
    z-index: 1;
}

@media (max-width: 1024px) {
    .why-slider {
        height: 400px;
    }
}
