:root {
    --primary-color: #004d40;
    --secondary-color: #00695c;
    --accent-color: #c0ca33;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f5f5f5;
    --max-width: 1200px;
    --header-height: 80px;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Header */
header {
    background: var(--white);
    height: var(--header-height);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--primary-color);
}

.logo .akict-main {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.logo .akict-sub {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
}

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

.nav-links a.contact-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 4px;
}

.nav-links a.contact-btn:hover {
    background: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section / Quote */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero_image_new.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: var(--header-height);
    position: relative;
}

.hero-content {
    max-width: 900px;
    /* background: rgba(0, 0, 0, 0.4); Removed box background */
    /* padding: 40px; Removed padding to fit text only */
    /* border-radius: 8px; Removed border radius */
    /* border: 1px solid rgba(255, 255, 255, 0.2); Removed border */
    /* backdrop-filter: blur(5px); Removed blur */
    animation: fadeInUp 1s ease;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.quote-author {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    color: var(--accent-color);
    font-size: 1rem;
}

.quote-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header (Common) */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero_background.png');
    /* Default background */
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: var(--header-height);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
}

/* Common Section Styles */
section {
    padding: 60px 20px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: left;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

/* About Page Hero */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://akict.org.pk/wp-content/uploads/2023/10/v4-copy-scaled.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
}

.about-hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    text-transform: lowercase;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* About Main Content */
.about-main-content {
    padding: 80px 20px;
    background: var(--white);
}

/* About Section Row (Side-by-side layout) */
.about-section-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-section-row.reverse {
    direction: rtl;
}

.about-section-row.reverse>* {
    direction: ltr;
}

.about-text-col h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.about-text-col p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.about-image-col img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* About Section Centered */
.about-section-centered {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 100px;
}

.about-section-centered h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.about-section-centered p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.about-section-centered .service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* History of Service */
.history-of-service {
    margin-top: 100px;
    margin-bottom: 100px;
}

.history-of-service h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    font-family: var(--font-heading);
    text-transform: lowercase;
}

.history-project {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.history-project:last-child {
    border-bottom: none;
}

.history-project h3 {
    font-family: 'Optima', sans-serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.history-project p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* About Gallery */
.about-gallery-section {
    margin-top: 100px;
    text-align: center;
}

.about-gallery-section h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-family: var(--font-heading);
    text-transform: lowercase;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.about-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-gallery-item:hover img {
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 900px) {
    .about-section-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .about-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Old About Section kept for homepage compatibility */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-text h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* History of Service Projects */
.projects-history-section {
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.project-card {
    background: transparent;
    padding: 0 0 30px 0;
    margin-bottom: 30px;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    border-left: none;
    border-bottom: 1px solid #eee;
}

.project-card:hover {
    transform: none;
    box-shadow: none;
}

.project-card h3 {
    font-family: 'Optima', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Featured Project */
.project {
    background: #f9f9f9;
}

.project-header {
    text-align: center;
    margin-bottom: 40px;
}

.project-header .subtitle {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.project-header h2 {
    font-size: 2.5rem;
    margin: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-images img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.project-main-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.project-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

.key-features {
    margin: 30px 0;
    background: var(--white);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.key-features h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.key-features ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.key-features ul li::before {
    content: '•';
    color: var(--accent-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}



/* Contact Page Layout */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-column {
    background: var(--white);
    padding: 0;
}

@media (max-width: 900px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.contact-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-text p {
    margin-bottom: 30px;
    color: var(--text-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

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

/* Footer */
footer {
    background: #212121;
    color: #bdbdbd;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    border-bottom: 1px solid #444;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-col p {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .project-grid,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}


/* ==========================================
   ANIMATIONS & TRANSITIONS - ENHANCED & DRAMATIC
   ========================================== */

/* Scroll Animation Base Classes - MORE VISIBLE */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
}

/* Fade In Animations - MUCH MORE DRAMATIC */
.fade-in-up {
    transform: translateY(80px);
}

.fade-in-up.visible {
    transform: translateY(0);
}

.fade-in-left {
    transform: translateX(-80px);
}

.fade-in-left.visible {
    transform: translateX(0);
}

.fade-in-right {
    transform: translateX(80px);
}

.fade-in-right.visible {
    transform: translateX(0);
}

.fade-in {
    opacity: 0;
}

.fade-in.visible {
    opacity: 1;
}

/* Keyframe Animations - ENHANCED */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced Gallery Hover Effects - MUCH MORE DRAMATIC */
.gallery-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.gallery-item img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    backdrop-filter: blur(5px);
}

/* Enhanced Button Hover Effects - MORE DRAMATIC */
.submit-btn,
.btn,
.nav-links a.contact-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.submit-btn:hover,
.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 77, 64, 0.4);
}

.nav-links a.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 77, 64, 0.4);
}

/* Navigation Link Underline Animation - MORE VISIBLE */
.nav-links a:not(.contact-btn) {
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:not(.contact-btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.nav-links a:not(.contact-btn):hover::after {
    width: 100%;
}

/* Project Images Animation - MORE DRAMATIC */
.project-main-image,
.project-images>div {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.project-main-image:hover,
.project-images>div:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Key Features List Animation - LONGER & MORE VISIBLE */
.key-features ul li {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.key-features ul li:nth-child(1) {
    animation-delay: 0.2s;
}

.key-features ul li:nth-child(2) {
    animation-delay: 0.4s;
}

.key-features ul li:nth-child(3) {
    animation-delay: 0.6s;
}

.key-features ul li:nth-child(4) {
    animation-delay: 0.8s;
}

.key-features ul li:nth-child(5) {
    animation-delay: 1.0s;
}

.key-features ul li:nth-child(6) {
    animation-delay: 1.2s;
}

.key-features ul li:nth-child(7) {
    animation-delay: 1.4s;
}

/* Form Input Focus Animation - MORE DRAMATIC */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(0, 77, 64, 0.2);
    transform: translateY(-3px) scale(1.01);
}

/* Read More Link Animation - MORE VISIBLE */
.read-more {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.4s ease;
}

.read-more:hover::after {
    width: 100%;
}

/* Section Title Animation - MUCH MORE DRAMATIC */
.section-title {
    opacity: 0;
    animation: slideInFromLeft 1.2s ease forwards;
    animation-delay: 0.3s;
}

/* Hero Content Enhanced Animation - LONGER & MORE VISIBLE */
.hero-content {
    animation: fadeInUp 1.8s ease both;
}

.quote-text {
    animation: fadeIn 2s ease both;
    animation-delay: 0.5s;
}

.quote-author {
    animation: slideUp 1.2s ease both;
    animation-delay: 0.8s;
}

.quote-date {
    animation: slideUp 1.2s ease both;
    animation-delay: 1.1s;
}

/* Gallery Grid Stagger Animation - MUCH MORE DRAMATIC */
.gallery-item {
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
}

.gallery-grid .gallery-item:nth-child(1) {
    animation-delay: 0.2s;
}

.gallery-grid .gallery-item:nth-child(2) {
    animation-delay: 0.4s;
}

.gallery-grid .gallery-item:nth-child(3) {
    animation-delay: 0.6s;
}

.gallery-grid .gallery-item:nth-child(4) {
    animation-delay: 0.8s;
}

.gallery-grid .gallery-item:nth-child(5) {
    animation-delay: 1.0s;
}

.gallery-grid .gallery-item:nth-child(6) {
    animation-delay: 1.2s;
}

/* About Gallery Stagger - MORE VISIBLE */
.about-gallery-item {
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
}

.about-gallery-item:nth-child(1) {
    animation-delay: 0.2s;
}

.about-gallery-item:nth-child(2) {
    animation-delay: 0.4s;
}

.about-gallery-item:nth-child(3) {
    animation-delay: 0.6s;
}

/* Smooth Transitions for All Interactive Elements */
a,
button,
input,
textarea,
select {
    transition: all 0.4s ease;
}

img {
    transition: transform 0.5s ease, opacity 0.4s ease;
}

/* Prefers Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}


/* Contact Page Layout */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-column {
    background: var(--white);
    padding: 0;
}

@media (max-width: 900px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Contact Section (Home) */
.contact-section {
    background: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.contact-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-text p {
    margin-bottom: 30px;
    color: var(--text-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

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

/* Footer */
footer {
    background: #212121;
    color: #bdbdbd;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    border-bottom: 1px solid #444;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-col p {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Tablet Landscape and smaller desktops */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 700px;
        padding: 35px;
    }

    .quote-text {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-header h2 {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet and Mobile */
@media (max-width: 768px) {

    /* Logo - make more compact */
    .logo .akict-main {
        font-size: 1.5rem;
    }

    .logo .akict-sub {
        font-size: 0.7rem;
    }

    /* Mobile Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        color: var(--primary-color);
    }

    /* Hero Section */
    .hero {
        min-height: 500px;
        height: auto;
        padding: 40px 20px;
    }

    .hero-content {
        max-width: 100%;
        padding: 30px 25px;
    }

    .quote-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .quote-author {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .quote-date {
        font-size: 0.85rem;
    }

    /* Typography */
    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    /* Project Grid */
    .project-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-header h2 {
        font-size: 2rem;
    }

    .key-features {
        padding: 25px;
    }

    /* Gallery Grid - 2 columns on tablet */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Contact Form */
    .contact-container {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 30px;
    }

    .contact-text h2 {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer {
        padding: 40px 20px 20px;
    }

    /* Sections - reduce padding */
    section {
        padding: 50px 20px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {

    /* Logo - even more compact */
    .logo .akict-main {
        font-size: 1.3rem;
    }

    .logo .akict-sub {
        font-size: 0.65rem;
    }

    /* Hero Section */
    .hero {
        min-height: 400px;
    }

    .hero-content {
        padding: 20px;
    }

    .quote-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .quote-author {
        font-size: 0.8rem;
    }

    .quote-date {
        font-size: 0.75rem;
    }

    /* Typography */
    .section-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .about-hero-content h1 {
        font-size: 2rem;
    }

    .project-header h2 {
        font-size: 1.7rem;
    }

    .project-header .subtitle {
        font-size: 0.8rem;
    }

    /* About text */
    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    /* Project Info */
    .project-info p {
        font-size: 0.95rem;
    }

    .key-features {
        padding: 20px;
    }

    .key-features h4 {
        font-size: 1.1rem;
    }

    .key-features ul li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    /* Gallery Grid - single column on small mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Form */
    .contact-container {
        padding: 25px 20px;
    }

    .contact-text h2 {
        font-size: 1.5rem;
    }

    .contact-text p {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-col h3 {
        font-size: 1.1rem;
    }

    .footer-col p,
    .footer-col ul li {
        font-size: 0.9rem;
    }

    /* Sections */
    section {
        padding: 40px 15px;
    }

    /* Button text */
    .nav-links a.contact-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   PROJECTS PAGE STYLES
   ========================================== */

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Project Card */
.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Project Card Image */
.project-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

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

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
}

/* Project Status Badge */
.project-status {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.ongoing {
    background: var(--secondary-color);
}

/* Project Card Content */
.project-card-content {
    padding: 30px;
}

.project-card-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.project-location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-location i {
    color: var(--secondary-color);
}

.project-description {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Project Meta */
.project-meta {
    display: flex;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.project-meta i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-card-image {
        height: 220px;
    }

    .project-card-content {
        padding: 20px;
    }

    .project-card-content h3 {
        font-size: 1.5rem;
    }
}

/* Town Planning Master Plan Zoom Effect */
.master-plan-container {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: zoom-in;
    /* Indicates the element can be zoomed */
}

.master-plan-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-out;
    /* Faster transition for responsive feel */
    /* transform-origin is handled by JS */
}

.master-plan-container:hover img {
    transform: scale(2.5);
    /* 2.5x Zoom to read details clearly */
}

/* Founders Section */
.founders-section {
    margin-top: 100px;
    text-align: center;
}

.founders-section h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-family: var(--font-heading);
    text-transform: lowercase;
}

.founders-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.founder-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 300px;
    transition: transform 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-10px);
}

.founder-image {
    height: 350px;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.founder-card:hover .founder-image img {
    transform: scale(1.05);
}

.founder-info {
    padding: 20px;
    text-align: center;
}

.founder-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.linkedin-link {
    display: inline-block;
    color: #0077b5;
    font-weight: 600;
    font-size: 1rem;
}

.linkedin-link i {
    margin-right: 5px;
    font-size: 1.2rem;
}

.linkedin-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .founders-grid {
        flex-direction: column;
        align-items: center;
    }
}