:root {
    --primary: #1a1a2e;
    --secondary: #ffffff;
    --accent: #FF0000;
    --red: #FF0000;
    --blue: #0066CC;
    --yellow: #FFD700;
    --purple: #663399;
    --text-light: #1a1a2e;
    --text-gray: #666666;
    --section-padding: 60px;
    --light-grey: #f5f5f5;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 5px 0;
    transition: all 0.3s ease;
    /* background-color: rgb(218 203 203 / 30%); */
    backdrop-filter: blur(3px);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

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

header.scrolled .nav-links a:hover {
    color: var(--accent);
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 500px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(255, 0, 0, 0.3));
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff2f00;
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 102, 204, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 10px;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero h1 .subtitle {
    display: block;
    font-size: 2rem;
    margin-top: 10px;
    color: var(--text-gray);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-gray);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.8s;
}

/* Remove default focus outline */
.cta-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Hero Section Buttons */
.hero .hero-content .cta-button,
.hero-slide .hero-content .cta-button,
#home .cta-button {
    display: inline-block !important;
    padding: 15px 40px !important;
    background-color: #FF0000 !important;
    background: #FF0000 !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    position: relative !important;
    z-index: 100 !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.hero .hero-content .cta-button:hover,
.hero-slide .hero-content .cta-button:hover,
#home .cta-button:hover {
    background-color: #FF3333 !important;
    background: #FF3333 !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4) !important;
}

/* Active/Click State */
.hero .hero-content .cta-button:active,
.hero-slide .hero-content .cta-button:active,
#home .cta-button:active,
.cta-button.active,
.cta-button:focus:active {
    background-color: #FFD700 !important;
    background: #FFD700 !important;
    color: #000000 !important;
    transform: translateY(1px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), rgba(255, 0, 0, 0.02));
    border: 1px solid rgba(255, 0, 0, 0.05);
    animation: float 15s infinite linear;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 85%;
    animation-delay: 6s;
}

.shape:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 10%;
    animation-delay: 8s;
}


.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
    pointer-events: none;
}

.hero-nav-btn {
    pointer-events: all;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-nav-btn:hover {
    background: rgb(74, 75, 87);
    border-color: rgb(74, 75, 87);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 75, 87, 0.2);
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-grey);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hero-dot.active {
    background: var(--accent);
    transform: scale(1.2);
    border-color: white;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
}

.hero-dot:hover {
    background: var(--accent);
    transform: scale(1.1);
}


.about {
    padding: 40px 0;
    background-color: var(--secondary);
}

.section-title {
    text-align: center;
    margin: 0;
    padding: 0px 0 30px 0;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--red) 0%, var(--blue) 35%, var(--yellow) 70%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
} */

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-direction: row-reverse;
    min-height: 400px;
}

.about-text {
    flex: 1;
}

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

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.about-image {
    flex: 1;
    position: relative;
    min-width: 0;
    min-height: 300px;
}

.image-frame {
    width: 100%;
    height: 400px;
    min-height: 300px;
    max-height: 500px;
    background: linear-gradient(45deg, var(--accent), var(--gold));
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: var(--secondary);
    border-radius: 5px;
    z-index: 1;
}

.image-frame img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: cover;
    border-radius: 5px;
    z-index: 2;
    opacity: 1;
    visibility: visible;
    display: block;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.services {
    padding: 40px 0;
    background-color: var(--secondary);
}

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

.service-card {
    background-color: var(--secondary);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--red), var(--blue), var(--yellow), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.15;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.3);
    border-color: rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 40px;
    color: var(--yellow);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--red);
}

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

.service-card p {
    color: var(--text-gray);
}


.portfolio {
    padding: 100px 0;
    background-color: var(--secondary);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.filter-btn.active {
    color: var(--accent);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.filter-btn.active::after,
.filter-btn:hover::after {
    width: 100%;
}

.filter-btn:hover {
    color: var(--text-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(26, 26, 46, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    color: var(--text-gray);
}


.contact {
    padding: 40px 0;
    background-color: var(--light-grey);
}

.diff {
    padding: 30px 5px;
    font-size: 20px;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    display: flex;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--gold);
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--text-light);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-form {
    flex: 1;

}

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

}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Yellow Buttons */
.submit-btn,
.cta-button {
    padding: 12px 40px;
    background: linear-gradient(135deg, #4a1d96 0%, #2d3748 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(74, 29, 150, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before,
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5a21b6 0%, #3b4a6b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.submit-btn:hover,
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(74, 29, 150, 0.4);
}

.submit-btn:hover::before,
.cta-button:hover::before {
    opacity: 1;
}

.form-message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.form-message.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.submit-btn .btn-loader {
    margin-left: 8px;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


footer {
    background-color: #4A4B57;
    /* Dark grayish-blue from the image */
    padding: 60px 0 20px;
    /* Slightly more padding for better spacing */
    color: white;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, #4A4B57 0%, #6A6B7A 100%);
    opacity: 0.1;
    pointer-events: none;
}

/* Update text colors in footer for better visibility */
.footer-links a,
.footer-links li,
.copyright {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-links a:hover {
    color: white !important;
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    /* Reduced margin */
    flex-wrap: wrap;
    gap: 20px;
    /* Reduced gap */
}

.footer-column {
    flex: 1;
    min-width: 200px;
    /* Slightly smaller minimum width */
    margin-bottom: 10px;
    /* Added small bottom margin */
}

.footer-logo {
    max-height: 120px;
    /* Reduced logo size */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
    /* Reduced margin */
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-column h3 {
    font-size: 1.1rem;
    /* Slightly smaller heading */
    margin-bottom: 12px;
    /* Reduced margin */
    color: var(--yellow);
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 6px;
    /* Reduced margin */
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    position: relative;
    top: 45%;
    left: 25%;
    transform: translateX(-50%);
    gap: 15px;

    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 18px;
}

.social-link:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Footer Social Media Section */
.footer-social {
    text-align: center;
    margin: 30px 0;
}

.footer-social h3 {
    color: var(--yellow);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-social .social-links {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    justify-content: center;
    margin: 15px 0 0;
    gap: 20px;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 15px;
    /* Reduced padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    /* Slightly smaller font */
}


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

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}


@media (max-width: 992px) {

    .about-content,
    .vision-content {
        flex-direction: column-reverse;
        min-height: auto;
        gap: 30px;
    }

    .about-image,
    .vision-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .image-frame {
        height: 350px;
        min-height: 300px;
        max-height: 400px;
    }

    .contact-container {
        flex-direction: column;
    }

    .countdown-timer {
        flex-wrap: wrap;
        gap: 20px;
    }

    .countdown-item {
        min-width: calc(50% - 20px);
    }
}

.vision {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.vision-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: row-reverse;
    min-height: 400px;
}

.vision-text {
    flex: 1;
}

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

.vision-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.vision-image {
    flex: 1;
    min-width: 0;
    min-height: 300px;
}

.app-countdown {
    margin: 40px 0;
    padding: auto;
    /* background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); */
    background-color: var(--primary);
    text-align: center;
}

.countdown-content {
    max-width: 800px;
    margin: 0 auto;
}

.countdown-content h2 {
    font-size: 1.8rem;
    margin-bottom: 3px;
    color: var(--accent);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.countdown-content p {
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 8px 0;
}

.countdown-item {
    text-align: center;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 4px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-item .count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow);
    display: block;
    line-height: 1;
    font-family: 'Playfair Display', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.countdown-item .label {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 2px;
    font-weight: 500;
    display: block;
}

.join-cta {
    padding: var(--section-padding) 0;
    /* background: linear-gradient(135deg, var(--accent) 0%, var(--red) 100%); */
    background: var(--light-grey);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?ixlib=rb-4.0.3') center/cover; */
    opacity: 0.1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.join-cta h2 {
    font-size: 3.2rem;
    margin-bottom: 10px;
    color: var(--primary);
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 0, 0, 0.5); */
    font-weight: 700;
    letter-spacing: 0.5px;
}

.join-cta p {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.faqs {
    padding: 40px 0;
    background-color: var(--secondary);
}



/* Mobile FAQ Section */
@media (max-width: 768px) {
    .faqs {
        padding: 30px 0;
    }

    .faqs .section-title {
        padding: 20px 0 30px;
    }

    .faqs .section-title h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 15px;
}

/* Countdown Section */
.app-countdown {
    padding: 20px 10px;
    text-align: center;
}

.countdown-content h2 {
    font-size: 3.5rem;
    margin: 5px 0;
    font-weight: 600;
    color: var(--red);
}

#app-countdown .countdown-content p {
    font-size: 1.1rem;
    margin: 5px auto 15px;
    max-width: 700px;
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.countdown-item {
    text-align: center;
    min-width: 100px;
}

.countdown-number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    color: var(--red);
}

.countdown-label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.faq-item {
    background-color: var(--secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:not(.active):hover {
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
    border-radius: 8px 8px 0 0;
}

.faq-question h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: 1rem;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.05);
}

.faq-item.active {
    border-color: rgba(255, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
}

.faq-item.active .faq-question {
    background-color: #fff9f9;
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

.faq-item.active .faq-question h3 {
    color: var(--accent);
    font-weight: 600;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: var(--accent);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    display: none;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0.5rem 1.2rem 1.2rem;
    opacity: 1;
    visibility: visible;
    display: block;
}

.faq-answer p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

/* Add smooth transition for the plus icon */
.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(135deg);
}

/* Contact Form Fields */
.contact-form .form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #ff0000;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.15);
}

/* Contact Form Textarea */
.contact-form textarea.form-control {
    height: 80px;
    /* Made even shorter */
    min-height: 60px;
    resize: vertical;
    line-height: 1.4;
}


/* Responsive styles for FAQ section */
@media (max-width: 992px) {
    .faq-container {
        grid-template-columns: 1fr;
        max-width: 800px;
        gap: 15px;
        padding: 0 20px;
    }
}

/* Mobile FAQ Optimizations */
@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 12px;
        padding: 0 15px;
        margin: 0 auto;
    }

    .faq-item {
        margin-bottom: 12px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .faq-question {
        padding: 18px 20px;
        border-radius: 12px 12px 0 0;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .faq-question h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin: 0;
        padding-right: 15px;
        font-weight: 600;
        color: var(--primary);
    }

    .faq-toggle {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: rgba(255, 0, 0, 0.1);
        color: var(--accent);
        font-size: 1.1rem;
        flex-shrink: 0;
        margin-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .faq-item.active .faq-toggle {
        background-color: var(--accent);
        color: white;
        transform: rotate(45deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        background-color: #fff;
        border-radius: 0 0 12px 12px;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .faq-answer p {
        font-size: 1rem;
        line-height: 1.6;
        padding: 8px 0;
        color: var(--text-gray);
        margin: 0;
    }

    .faq-item:not(.active):hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 0, 0, 0.08);
    }

    /* Touch-friendly improvements */
    .faq-question {
        -webkit-tap-highlight-color: rgba(255, 0, 0, 0.1);
        tap-highlight-color: rgba(255, 0, 0, 0.1);
    }

    .faq-toggle {
        -webkit-tap-highlight-color: transparent;
        tap-highlight-color: transparent;
    }

    /* Better spacing for mobile */
    .faq-container {
        margin-bottom: 20px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .faq-container {
        padding: 0 10px;
        gap: 10px;
    }

    .faq-question {
        padding: 15px 16px;
        min-height: 55px;
    }

    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.2;
        padding-right: 12px;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        background-color: #fff;
        border-radius: 0 0 12px 12px;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 16px;
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .logo-img {
        height: 45px;
        max-width: 180px;
    }

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

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

    .countdown-content h2 {
        font-size: 2rem;
    }

    .countdown-item {
        min-width: 100%;
    }

    .countdown-item .count {
        font-size: 2.5rem;
    }

    .join-cta h2 {
        font-size: 2rem;
    }

    /* Mobile Responsive Styles - Improved for better mobile experience */

    @media (max-width: 1200px) {
        .container {
            width: 95%;
        }

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

        .hero p {
            font-size: 1.1rem;
        }

        .section-title h2 {
            font-size: 2.2rem;
        }

        .about-content,
        .vision-content {
            gap: 40px;
        }

        .image-frame {
            height: 380px;
            min-height: 320px;
            max-height: 450px;
        }
    }

    @media (max-width: 992px) {
        .faq-container {
            grid-template-columns: 1fr;
            max-width: 800px;
        }

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

        .hero p {
            font-size: 1rem;
            padding: 0 20px;
        }

        .cta-button {
            padding: 12px 25px;
            font-size: 0.9rem;
        }

        .services-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .footer-content {
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
        }
    }

    @media (max-width: 768px) {
        :root {
            --section-padding: 40px;
        }

        .menu-toggle {
            display: block;
            color: #ffffff;
            font-size: 28px;
            cursor: pointer;
            z-index: 1001;
        }

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

        .nav-links {
            position: fixed;
            top: 70px;
            left: 0;
            width: 100%;
            background-color: rgba(26, 26, 46, 0.95);
            backdrop-filter: blur(10px);
            flex-direction: column;
            align-items: center;
            padding: 30px 0;
            transform: translateY(-100%);
            opacity: 0;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            z-index: 999;
        }

        .nav-links.active {
            transform: translateY(0);
            opacity: 1;
        }

        .nav-links li {
            margin: 15px 0;
        }

        .nav-links a {
            font-size: 1.1rem;
            padding: 10px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            width: 200px;
            text-align: center;
        }

        .logo-img {
            height: 50px;
            max-width: 200px;
        }

        header.scrolled .logo-img {
            height: 45px;
        }

        /* Hero Section Mobile Optimization */
        .hero {
            height: 80vh;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            line-height: 1.1;
        }

        .hero p {
            font-size: 0.95rem;
            margin-bottom: 25px;
            padding: 0 15px;
            line-height: 1.5;
        }

        .cta-button {
            padding: 15px 30px;
            font-size: 1rem;
            margin-top: 10px;
        }

        .hero-nav {
            padding: 0 20px;
        }

        .hero-nav-btn {
            width: 45px;
            height: 45px;
            font-size: 16px;
        }

        .hero-dots {
            bottom: 20px;
        }

        .hero-dot {
            width: 12px;
            height: 12px;
            margin: 0 5px;
        }

        /* Section Titles Mobile */
        .section-title h2 {
            font-size: 1.8rem;
        }

        .section-title {
            padding: 20px 0;
        }

        /* About Section Mobile */
        .about-content {
            flex-direction: column;
            text-align: center;
            min-height: auto;
            gap: 25px;
        }

        .about-text {
            margin-bottom: 20px;
            padding: 0 15px;
        }

        .about-image {
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }

        .image-frame {
            height: 300px;
            min-height: 250px;
            max-height: 350px;
        }

        /* Vision Section Mobile */
        .vision-content {
            flex-direction: column;
            text-align: center;
            min-height: auto;
            gap: 25px;
        }

        .vision-text {
            order: 2;
            margin-top: 20px;
            padding: 0 15px;
        }

        .vision-image {
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }

        /* Services Section Mobile */
        .services-grid {
            grid-template-columns: 1fr;
            gap: 25px;
            padding: 0 20px;
        }

        .service-card {
            padding: 25px 20px;
            margin-bottom: 0;
        }

        .service-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        /* Portfolio Section Mobile */
        .portfolio-grid {
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 0 20px;
        }

        .portfolio-item {
            height: 250px;
        }

        /* Contact Section Mobile */
        .contact-container {
            flex-direction: column;
            gap: 30px;
        }

        .contact-info {
            text-align: center;
        }

        .contact-form {
            padding: 0 20px;
        }

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

        .form-control {
            padding: 12px;
            font-size: 16px;
            /* Prevents zoom on iOS */
        }

        .submit-btn {
            padding: 15px 30px;
            font-size: 1rem;
            width: 100%;
        }

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

        .footer-column {
            margin-bottom: 20px;
        }

        .footer-social {
            text-align: center;
            margin-top: 20px;
        }

        .social-links {
            justify-content: center;
        }

        /* Countdown Mobile */
        .countdown-content h2 {
            font-size: 1.8rem;
        }

        .countdown-item {
            min-width: 100%;
            margin-bottom: 20px;
        }

        .countdown-item .count {
            font-size: 2.5rem;
        }

        .countdown-label {
            font-size: 1rem;
        }

        /* FAQ Mobile */
        .faq-container {
            padding: 0 20px;
        }

        .faq-question {
            padding: 15px 20px;
        }

        .faq-question h3 {
            font-size: 1rem;
            line-height: 1.4;
        }

        .faq-answer {
            padding: 0 20px 20px;
        }

        /* Join CTA Mobile */
        .join-cta h2 {
            font-size: 1.8rem;
        }

        .join-cta p {
            font-size: 0.95rem;
            padding: 0 20px;
        }
    }

    @media (max-width: 480px) {
        :root {
            --section-padding: 30px;
        }

        .container {
            width: 98%;
        }

        /* Extra small screens */
        .hero h1 {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .hero p {
            font-size: 0.9rem;
            padding: 0 10px;
        }

        .cta-button {
            padding: 12px 25px;
            font-size: 0.9rem;
        }

        .section-title h2 {
            font-size: 1.5rem;
        }

        .hero-nav {
            padding: 0 15px;
        }

        .hero-nav-btn {
            width: 40px;
            height: 40px;
            font-size: 14px;
        }

        .logo-img {
            height: 45px;
            max-width: 180px;
        }

        header.scrolled .logo-img {
            height: 40px;
        }

        .services-grid {
            padding: 0 15px;
            gap: 20px;
        }

        .service-card {
            padding: 20px 15px;
        }

        .portfolio-grid {
            padding: 0 15px;
            gap: 15px;
        }

        .contact-form {
            padding: 0 15px;
        }

        .faq-container {
            padding: 0 15px;
        }
    }

    /* Additional Mobile Optimizations */

    @media (max-width: 768px) {

        /* Better mobile navigation spacing */
        .navbar {
            padding: 0 20px;
        }

        /* Improve hero section readability on mobile */
        .hero-content {
            padding: 20px;
            text-align: center;
        }

        /* Better button sizing for mobile */
        .hero .cta-button,
        .hero-slide .cta-button {
            min-width: 200px;
            min-height: 50px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        /* Improve form inputs for mobile */
        .form-group input,
        .form-group textarea {
            font-size: 16px;
            /* Prevents zoom on iOS */
            padding: 15px;
            border-radius: 8px;
        }

        /* Better mobile footer layout */
        .footer-content {
            padding: 0 20px;
        }

        .footer-column {
            margin-bottom: 30px;
            padding: 0 10px;
        }

        /* Improve mobile hero slider controls */
        .hero-nav {
            padding: 0 25px;
        }

        .hero-nav-btn {
            background: rgba(255, 255, 255, 0.8);
            border: 2px solid rgba(255, 255, 255, 0.9);
        }

        .hero-nav-btn:hover {
            background: rgba(255, 255, 255, 0.95);
            transform: scale(1.05);
        }
    }

    /* Landscape orientation fixes for mobile */
    @media (max-width: 896px) and (orientation: landscape) {
        .hero {
            height: 100vh;
        }

        .hero h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
        }

        .hero p {
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        .cta-button {
            padding: 12px 25px;
            font-size: 0.9rem;
        }

        .nav-links {
            top: 60px;
        }
    }

    /* iPhone-specific optimizations */
    @supports (-webkit-touch-callout: none) {

        /* iOS-specific styles */
        .hero {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }

        .hero-slider-track {
            -webkit-transform: translate3d(var(--translate-x, 0), 0, 0);
            transform: translate3d(var(--translate-x, 0), 0, 0);
        }

        /* Fix iOS bouncing on scroll */
        body {
            -webkit-overflow-scrolling: touch;
            position: relative;
        }

        /* Better iOS form handling */
        input[type="text"],
        input[type="email"],
        textarea {
            -webkit-appearance: none;
            appearance: none;
            -webkit-tap-highlight-color: rgba(255, 0, 0, 0.1);
            border-radius: 8px;
        }

        .cta-button {
            -webkit-tap-highlight-color: rgba(255, 0, 0, 0.2);
        }
    }

    /* Android-specific optimizations */
    @media screen and (-webkit-min-device-pixel-ratio: 0) {
        .hero-slide {
            background-attachment: scroll;
        }

        /* Better Android scrolling */
        .nav-links {
            -webkit-overflow-scrolling: touch;
        }
    }

    /* Prevent horizontal scroll on mobile */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Prevent layout shifts during resize */
    .about-content,
    .vision-content {
        contain: layout style;
    }

    .about-image,
    .vision-image {
        contain: layout style;
    }

    .image-frame {
        contain: layout style;
    }

    /* Mobile image optimization */
    @media (max-width: 768px) {

        /* Hero background images mobile optimization */
        .hero-slide {
            background-size: cover !important;
            background-position: center center !important;
            background-repeat: no-repeat !important;
            background-attachment: scroll !important;
            min-height: 100vh;
        }

        /* Ensure all images load properly on mobile */
        .image-frame img,
        .logo-img,
        .footer-logo,
        .portfolio-img {
            max-width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }

        /* Logo mobile optimization */
        .logo-img {
            max-height: 60px;
            width: auto;
        }

        /* Footer logo mobile optimization */
        .footer-logo {
            max-height: 80px;
            width: auto;
            margin: 0 auto;
        }

        /* Image frame mobile optimization */
        .image-frame {
            height: 300px;
            margin: 0 auto;
        }

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

    /* Better mobile loading experience */
    .hero-slide {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* Additional mobile image fixes */
    @media (max-width: 768px) {

        /* Force image loading on mobile */
        .hero-slide[style*="background"] {
            background-size: cover !important;
            background-position: center !important;
            background-repeat: no-repeat !important;
            background-attachment: scroll !important;
        }

        /* Ensure proper image display */
        img[src] {
            opacity: 1;
            visibility: visible;
            display: block;
        }

        /* Fix for images that might not load */
        .image-frame::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
            z-index: 1;
        }

        .image-frame img {
            position: relative;
            z-index: 2;
        }

        /* Ensure about and vision images are always visible */
        .about-image,
        .vision-image {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .about-content,
        .vision-content {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
    }

    /* Fix for medium screen sizes where images might disappear */
    @media (min-width: 769px) and (max-width: 1024px) {

        .about-content,
        .vision-content {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            min-height: 350px;
        }

        .about-image,
        .vision-image {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            flex: 1;
        }

        .image-frame {
            height: 350px;
            min-height: 300px;
            max-height: 400px;
        }

        .image-frame img {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
        }
    }

    /* Mobile-first approach for better performance */
    @media (min-width: 1025px) {

        /* Desktop-specific optimizations can go here if needed */
        .hero-nav {
            pointer-events: none;
        }

        .hero-nav-btn {
            pointer-events: all;
        }
    }

}