* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --secondary: #00aaff;
    --accent: #ffa500;
    --dark: #1a1a2e;
    --light: #f5f7fa;
    --white: #ffffff;
    --text: #2c3e50;
    --text-light: #6c757d;
}

body {
    /* TYPOGRAPHY FIX: Inter font link added in HTML */
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover:after {
    width: 100%;
}

.contact-nav-btn {
    padding: 0.7rem 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.contact-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
}

.contact-nav-btn:after {
    display: none;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 2px;
    transform-origin: center;
}

/* CSS FIX: Hamburger to X transition */
.mobile-menu.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* JS FIX: Body overflow for mobile menu */
body.menu-open {
    overflow: hidden;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a52 50%, #2c5f8d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 170, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 150px;
    /* CSS FIX: Wavy divider uses a white fill which matches the next section (stats) background. */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 C300,100 600,0 900,50 C1050,75 1150,50 1200,50 L1200,120 L0,120 Z" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUpHero 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-subtitle {
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease 0.3s both;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: fadeIn 1s ease 0.5s both;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    animation: fadeIn 1s ease 0.7s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.9s both;
}

.cta-button {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent), #ff8c00);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(255, 165, 0, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 165, 0, 0.5);
}

/* Added back the secondary button styles for "Call Us Now" */
.cta-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: white;
    /* Ensure text is white */
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* End of secondary button styles */


/* Stats Section */
.stats {
    padding: 5rem 2rem;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

/* NEW STYLES FOR SCREENSHOT MATCHING ABOUT SECTION */
.about-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Make content column wider */
    gap: 4rem;
    align-items: center;
}

.about-header-match h2 {
    font-size: 3.5rem;
    /* Larger font size */
    color: var(--dark);
    /* Dark text color */
    margin-bottom: 1.5rem;
    /* Reduced margin */
    font-weight: 800;
    line-height: 1.2;
    font-family: 'Times New Roman', serif;
    /* Simulating the font style */
}

.quality-accent {
    color: #b8860b;
    /* A subtle golden/brown color for 'Quality' */
    font-family: inherit;
    /* Maintain the header font */
    font-style: italic;
    font-weight: 900;
}

.about-content p {
    font-size: 1.05rem;
    /* Slightly smaller font for body text */
    color: var(--text);
    /* Darker body text */
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Replaced existing .about-features with new grid layout */
.about-features-match {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns for features */
    gap: 1.5rem 2rem;
    margin-top: 2.5rem;
    max-width: 600px;
    /* Removed padding and box-shadow from individual features */
}

.feature-item-match {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
}

.feature-icon-match {
    font-size: 1.2rem;
    color: #b8860b;
    /* Using a subtle golden/brown color for the checkmark */
}

/* Replaced existing .about-image with new overlapping image styles */
.about-image {
    display: none;
}

/* Ensure old image block is hidden */
.about-image-match {
    position: relative;
    height: 600px;
    /* Define a fixed area for the images */
    display: block;
}

.about-image-match img {
    position: absolute;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.about-image-match img:hover {
    transform: scale(1.02);
}

.image-top {
    top: 0;
    left: 0;
    height: 40%;
    /* Top image size */
    width: 85%;
    /* Make it narrower */
    z-index: 2;
}

.image-bottom {
    bottom: 0;
    right: 0;
    height: 70%;
    /* Bottom image is larger and overlaps */
    width: 95%;
    z-index: 1;
}

/* END OF NEW ABOUT STYLES */


/* Services Section */
.services {
    padding: 8rem 2rem;
    background: var(--white);
    position: relative;
}

/* ... (rest of services, why-choose, contact, footer styles remain the same) ... */

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, var(--light) 0%, transparent 100%);
    z-index: 0;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 1;
}

.services-header .tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.services-header h2 {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-family: 'Times New Roman', serif;
    /* MODIFIED: Added font-family */
}

.services-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Services Grid: Ensure 3 columns */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

/* --- START OF SERVICE CARD STYLING --- */
.service-card {
    background-color: var(--dark);
    /* Fallback color */
    height: 350px;
    /* Fixed height for image display */
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;

    /* Background Image Setup */
    background-size: cover;
    background-position: center;

    /* Text Overrides for Image Background */
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align content to the bottom */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
    /* Helps text stand out */
}

/* Card that should be hidden by default (service 7-10) */
.service-card.hidden {
    display: none;
}

/* Dark Overlay for Text Readability */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Gradient overlay, darker at the bottom */
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.2) 100%);
    transition: background-color 0.4s ease;
}

/* Hover Effect: Less transparent overlay, slight zoom */
.service-card:hover {
    transform: scale(1.03);
    /* Slight zoom effect on hover */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Ensure content stays above the overlay */
.service-card h3,
.service-card p {
    position: relative;
    z-index: 2;
}

/* Text Styling */
.service-card h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

/* DESCRIPTION HIDE/SHOW LOGIC */
.service-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 1.0rem;

    /* HIDE BY DEFAULT */
    opacity: 0;
    transform: translateY(10px);
    /* Start slightly lower */
    transition: opacity 0.4s ease, transform 0.4s ease;
    /* Transition both opacity and position */
}

/* SHOW DESCRIPTION ON HOVER */
.service-card:hover p {
    opacity: 1;
    transform: translateY(0);
    /* Move to final position */
}

/* Unique Background Images (PLACEHOLDERS: Update 'path/to/img-X.jpg' with your actual image URLs) */
.img-1 {
    background-image: url('images/service_img_1.jpeg');
}

.img-2 {
    background-image: url('images/service_img_2.jpeg');
}

.img-3 {
    background-image: url('images/service_img_3.jpeg');
}

.img-4 {
    background-image: url('images/service_img_4.jpeg');
}

.img-5 {
    background-image: url('images/service_img_5.jpeg');
}

.img-6 {
    background-image: url('images/service_img_6.jpeg');
}

.img-7 {
    background-image: url('images/service_img_7.jpg');
}

.img-8 {
    background-image: url('images/service_img_8.jpeg');
}

.img-9 {
    background-image: url('images/service_img_9.jpeg');
}

.img-10 {
    background-image: url('images/service_img_10.jpeg');
}

.img-11 {
    background-image: url('images/service_img_11.jpg');
}

/* --- END OF SERVICE CARD STYLING --- */

/* View All Services Button Styles */
.view-all-container {
    text-align: center;
    margin-top: 4rem;
}

.view-all-btn {
    padding: 1rem 3rem;
    background: var(--dark);
    /* Use a darker color for contrast */
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(26, 26, 46, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.4);
    background: #4a4a6b;
}


/* Why Choose Us Section */
.why-choose {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--dark) 0%, #2c4a6e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 5rem;
}

.why-choose-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-family: 'Times New Roman', serif;
    /* MODIFIED: Added font-family */
}

.why-choose-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.why-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
}

.why-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.why-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

/* UPDATED STYLES FOR HEADER BLOCK */
.contact-info {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.contact-info h2 {
    font-size: 3.5rem;
    /* MODIFIED: Changed from 3rem to 3.5rem for consistency with other headers */
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-family: 'Times New Roman', serif;
    /* MODIFIED: Added font-family */
}

.contact-info p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* NEW STYLES FOR GRID AND STACKED CARDS */
.contact-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Contact List (Left) is 1, Map (Right) is 1.5 */
    gap: 4rem;
    align-items: start;
}

.contact-list-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* MODIFIED: Reduced height from 500px to 350px */
.contact-map-column {
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-map-column iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-stacked-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    /* CSS FIX: Added transform transition */
    text-decoration: none;
    /* For anchor tags */
    color: inherit;
}

/* CSS FIX: Added subtle transform on hover */
.contact-stacked-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Icon styling matching image_414a9d.png's brown/gold color */
.contact-icon-new {
    width: 60px;
    height: 60px;
    background: #966C3C;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-text-new {
    /* Ensures text aligns on the right side of the icon */
    flex-grow: 1;
    text-align: left;
}

.contact-text-new h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.contact-text-new p {
    font-size: 1rem;
    color: var(--text);
    margin: 0;
}


/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0d1b2a 100%);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about {
    /* ... existing styles ... */
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* --- FLOATING ACTION BUTTONS STYLES --- */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab-item {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.fab-item:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp {
    background-color: #25D366;
    /* WhatsApp Green */
}

.call {
    background-color: var(--primary);
    /* Primary Blue */
}

.email {
    background-color: #DD4B39;
    /* Gmail Red */
}

.scroll-top {
    background-color: var(--dark);
    opacity: 0;
    /* Hidden by default */
    visibility: hidden;
    pointer-events: none;
    /* Disable interaction when hidden */
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Enable interaction when visible */
    transform: scale(1);
}

/* --- END OF FLOATING ACTION BUTTONS STYLES --- */


/* Animations */
@keyframes fadeInUpHero {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-match {
        height: 450px;
    }

    .image-top {
        height: 50%;
        width: 70%;
    }

    .image-bottom {
        height: 80%;
        width: 85%;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-header h2 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-header h2,
    .contact-info h2,
    .about-header-match h2 {
        /* Targeting the new About header */
        font-size: 2.2rem;
    }

    .about-features-match {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    .about-image-match {
        height: 350px;
    }

    .image-top {
        height: 45%;
        width: 75%;
    }

    .image-bottom {
        height: 70%;
        width: 90%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Smaller FAB on mobile */
    .fab-item {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    /* Contact Details Grid adapts to one column on smaller screens */
    .contact-grid-container {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    .contact-map-column {
        height: 300px;
    }
}