/* General Body & Typography */
:root {
    --primary-color: #007bff; /* A professional, vibrant blue */
    --secondary-color: #0a1f44; /* Dark corporate blue, almost black for deep sections */
    --accent-color: #fce446; /* A subtle contrasting yellow/gold for minor accents, like highlights if needed */
    --text-color: #555; /* Medium grey for general body text on light backgrounds */
    --heading-color: #222; /* Darker grey for headings on light backgrounds */
    --white-color: #fff;
    --light-bg: #f5f8fa; /* Light grey/blueish background for sections like service grid */
    --dark-bg: #0a1f44; /* Consistent with secondary color for dark backgrounds (hero, mid-cta) */
    --border-color: #eee;

    /* Buttons */
    --button-primary-bg: #0069d9; /* Darker blue for main buttons */
    --button-primary-hover: #0056b3;
    --button-secondary-bg: #6c757d; /* Grey for secondary buttons if needed */
    --button-secondary-hover: #5a6268;

    /* Fonts */
    --font-family-sans: 'Poppins', sans-serif; /* Updated to Poppins */
}

/* Universal box-sizing and reset margins/paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    scroll-behavior: smooth; /* For smooth scrolling to anchors */
}

/* For preventing scroll when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Reusable container for content width limitation and centering */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 0.8em;
    font-weight: 700; /* Poppins bold */
}

h1 { font-size: 3.8em; font-weight: 800;} /* Extra bold for main headline */
h2 { font-size: 2.8em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--button-primary-hover);
}

/* Button Base Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600; /* Semi-bold for buttons */
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

/* Primary Button (blue background, white text) */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: var(--button-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Secondary Button (dark background, white text) - used for Sign In */
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--heading-color);
    transform: translateY(-2px);
}

/* Search Button in Hero section */
.btn-search {
    background-color: var(--secondary-color); /* Dark blue search button */
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    font-size: 1em;
    height: 50px; /* Match height of input/select */
}

.btn-search:hover {
    background-color: var(--heading-color);
}

/* Demo Button (transparent, white border/text) */
.btn-demo {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
    padding: 10px 30px;
    font-weight: 500;
}

.btn-demo i {
    margin-right: 8px;
}

.btn-demo:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Large CTA Primary Button (blue background, white text) */
.btn-cta-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 600;
}

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

/* Large CTA Secondary Button (blue background, white text) - similar to primary CTA */
.btn-cta-secondary {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 600;
}

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

/* Package Details Button */
.btn-package-details {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    font-size: 0.9em;
    font-weight: 500;
    width: fit-content;
    margin-top: auto; /* Push to bottom of card in flex column */
}

.btn-package-details:hover {
    background-color: var(--button-primary-hover);
}

/* Reusable Section Titles & Taglines */
.section-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.8em; /* Slightly larger for impact */
    color: var(--secondary-color); /* Darker for prominence */
    font-weight: 800;
}

.section-tagline {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
    color: var(--text-color);
    font-weight: 400;
}

/* Top Announcement Bar */
.top-announcement-bar {
    background-color: var(--dark-bg); /* Dark blue background */
    color: var(--white-color);
    text-align: center;
    padding: 10px 0;
    font-size: 0.9em;
    font-weight: 300;
}

.top-announcement-bar a {
    color: var(--primary-color); /* Blue for links */
    font-weight: 600;
    text-decoration: underline;
}
.top-announcement-bar a:hover {
    color: var(--button-primary-hover);
}

/* Main Header */
.main-header {
    background-color: var(--white-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* More subtle shadow */
    position: sticky; /* Make header sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50; /* Ensure it's above other content */
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows elements to wrap on smaller screens */
}

.main-header .logo img {
    height: 80px; /* Adjusted logo size */
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    margin-left: 35px; /* Increased spacing between nav items */
}

.main-nav a {
    color: var(--secondary-color); /* Dark blue for nav links */
    font-weight: 600;
    padding: 15px 0; /* More padding for clickable area */
    display: block;
    white-space: nowrap; /* Prevent nav links from breaking onto multiple lines */
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color); /* Blue on hover */
}

.main-nav .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: var(--white-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25); /* Stronger shadow for dropdown */
    min-width: 220px; /* Slightly wider */
    z-index: 10;
    border-top: 3px solid var(--primary-color); /* Blue top border */
    list-style: none;
    padding: 10px 0;
    border-radius: 0 0 8px 8px; /* Rounded corners at bottom */
}

.main-nav .dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown on hover */
}

.main-nav .dropdown-menu li {
    margin: 0;
}

.main-nav .dropdown-menu a {
    padding: 12px 25px; /* More padding */
    color: var(--text-color); /* Grey text for dropdown items */
    font-weight: 400; /* Regular weight for dropdown items */
}

.main-nav .dropdown-menu a:hover {
    background-color: var(--light-bg); /* Light background on hover */
    color: var(--secondary-color); /* Dark blue text on hover */
}

.main-nav .fa-caret-down {
    margin-left: 6px;
    font-size: 0.7em;
    color: var(--primary-color); /* Blue caret icon */
}

.header-contact {
    display: flex;
    align-items: center;
}

.header-contact .phone-number {
    color: var(--secondary-color); /* Dark blue for phone number */
    margin-right: 25px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.header-contact .phone-number:hover {
    color: var(--primary-color);
}

.header-contact .phone-number i {
    margin-right: 8px;
    color: var(--primary-color); /* Blue phone icon */
}

/* Hamburger menu icon (hidden by default on desktop) */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 20;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color); /* Dark blue lines for hamburger */
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger menu animation (for X icon) */
.hamburger-menu.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger-menu.open span:nth-child(2) { opacity: 0; }
.hamburger-menu.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Hero Section */
.hero-section {
    background-image: url('../images/hero-bg.png'); /* Reference to your uploaded hero image */
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 120px 0; /* More vertical padding */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 550px; /* Minimum height for consistency */
}

/* Dark overlay for hero background to ensure text readability */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Darker overlay for better text contrast */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px; /* Wider content area */
    margin: 0 auto;
}

.hero-content h1 {
    color: var(--white-color);
    font-size: 3.8em; /* Larger, more impactful */
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* Subtle text shadow for depth */
}

.hero-content .tagline {
    font-size: 1.5em; /* Larger tagline */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9); /* Slightly subdued white */
    font-weight: 300;
}

/* Search Bar in Hero Section */
.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    background-color: var(--white-color); /* White background for search bar container */
    border-radius: 8px;
    overflow: hidden; /* Ensures child elements don't overflow rounded corners */
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-bar select,
.search-bar input[type="text"] {
    padding: 12px 20px;
    border: none;
    font-size: 1em;
    outline: none;
    color: var(--text-color);
    flex-grow: 1; /* Allows them to grow and fill space */
    min-width: 150px; /* Ensure minimum width for input */
    height: 50px; /* Consistent height */
    appearance: none; /* Remove default select arrow */
    /* Custom arrow for select (SVG data URI) */
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23007bff%22%3E%3Cpath%20d%3D%22M7%2C10L12%2C15L17%2C10H7Z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    border-right: 1px solid var(--border-color); /* Separator between fields */
}

.search-bar input[type="text"] {
    border-radius: 0;
    border-right: 1px solid var(--border-color); /* Separator */
}
/* Remove right border for the last input before button on desktop for seamless look */
.search-bar input[type="text"]:last-of-type {
    border-right: none;
}


/* Trending Keywords Section */
.trending-keywords {
    margin-top: 25px;
    margin-bottom: 40px;
}

.trending-keywords span {
    font-weight: 600;
    margin-right: 12px;
    color: var(--accent-color); /* Using the subtle accent color */
    font-size: 1.1em;
}

.keyword-btn {
    background-color: rgba(0, 123, 255, 0.15); /* Lighter transparent blue */
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 25px; /* More rounded pill shape */
    margin: 5px 8px; /* More spacing */
    display: inline-block;
    font-size: 0.95em;
    border: 1px solid rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.watch-demo {
    margin-top: 30px;
}

/* Our Core Digital Expertise Section (Service Grid) */
.services-expertise-section {
    padding: 80px 0;
    background-color: var(--light-bg); /* Light bluish background */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Slightly larger cards */
    gap: 35px; /* More gap */
    margin-top: 60px;
}

.service-card {
    background-color: var(--white-color);
    padding: 35px 25px; /* More padding */
    border-radius: 12px; /* More rounded corners */
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08); /* More prominent shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px; /* Taller cards */
    position: relative; /* For potential hover effects */
}

.service-card:hover {
    transform: translateY(-10px); /* Lift higher */
    box-shadow: 0 12px 25px rgba(0,0,0,0.15); /* Deeper shadow */
}

.service-card img {
    width: 65px; /* Slightly larger icons */
    height: 65px;
    margin-bottom: 20px;
    /* Optional: Filter to turn black SVG icons blue (adjust values if needed) */
    /* filter: invert(24%) sepia(90%) saturate(2256%) hue-rotate(200deg) brightness(96%) contrast(105%); */
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.service-card p { /* "X Options Available" tag */
    font-size: 0.95em;
    color: var(--white-color);
    background-color: var(--primary-color); /* Blue background */
    padding: 7px 18px; /* More padding */
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.service-card:hover p {
    background-color: var(--button-primary-hover);
}


/* Mid CTA Section (Reusable) */
.mid-cta-section {
    background-color: var(--secondary-color); /* Dark blue background */
    padding: 70px 0;
    text-align: center;
    color: var(--white-color);
}

.mid-cta-section .cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.mid-cta-section h3 {
    color: var(--white-color); /* White heading on dark blue */
    font-size: 2.5em; /* Larger heading */
    margin-bottom: 15px;
    font-weight: 700;
}

.mid-cta-section p {
    color: rgba(255, 255, 255, 0.9); /* Subdued white */
    font-size: 1.25em;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Featured Services Section (Graphic Design Packages) */
.featured-services-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); /* Slightly larger package cards */
    gap: 30px;
    margin-top: 60px;
}

.package-card {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.package-card img {
    width: 100%;
    max-height: 200px; /* Slightly taller images */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.package-card h3 {
    font-size: 1.6em; /* Larger heading */
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 600;
}

.package-card .price {
    font-size: 1.25em; /* Larger price */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-bg); /* Light background for contrast */
}

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

.testimonial-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures all cards in a row have same height */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-card .client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Make it round */
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color); /* Blue border around photo */
    flex-shrink: 0; /* Prevent photo from shrinking */
}

.testimonial-card .client-name {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.testimonial-card .client-designation {
    font-size: 0.9em;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-card .testimonial-text {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0; /* Remove default paragraph margin */
    flex-grow: 1; /* Allows text to take available space */
}


/* Final Call-to-Action */
.final-cta-section {
    background-color: var(--primary-color); /* Final CTA uses primary blue */
    text-align: center;
    padding: 70px 0;
    color: var(--white-color);
}
.final-cta-section .cta-content {
    max-width: 900px;
    margin: 0 auto;
}
.final-cta-section h3 {
    color: var(--white-color);
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}
.final-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25em;
    margin-bottom: 40px;
    font-weight: 300;
}


/* Footer */
.main-footer {
    background-color: var(--secondary-color); /* Dark blue footer */
    color: var(--white-color);
    padding: 60px 0 20px 0;
    font-size: 0.95em;
}

.main-footer .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.main-footer .footer-col {
    flex-basis: 22%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.main-footer .footer-col.about-col {
    flex-basis: 30%;
}

.main-footer .footer-logo {
    height: 45px;
    width: auto;
    /* If your logo is dark and needs to be white on dark background, use: */
    /* filter: brightness(0) invert(1); */
    margin-bottom: 20px;
}

.main-footer h3 {
    color: var(--primary-color); /* Blue headings in footer */
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
}

.main-footer ul {
    list-style: none;
}

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

.main-footer ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.main-footer ul li a:hover {
    color: var(--primary-color);
}

.main-footer .social-links a {
    color: rgba(255,255,255,0.7);
    margin-right: 18px;
    font-size: 1.4em;
    transition: color 0.3s ease;
}

.main-footer .social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 25px;
    margin-top: 25px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9em;
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 25px; /* Slightly higher */
    right: 25px; /* Slightly further from edge */
    z-index: 100;
}

.whatsapp-sticky a {
    background-color: #25D366; /* WhatsApp green */
    color: var(--white-color);
    width: 65px; /* Slightly larger */
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em; /* Larger icon */
    box-shadow: 0 6px 12px rgba(0,0,0,0.25); /* Deeper shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-sticky a:hover {
    transform: scale(1.15); /* More pronounced hover */
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

/* Style for the new WhatsApp image icon */
.whatsapp-sticky .whatsapp-icon-img {
    width: 60%; /* Make image fill 60% of the button's width */
    height: 60%; /* Make image fill 60% of the button's height */
    object-fit: contain; /* Ensure image fits without cropping */
    /* Removed padding as it was causing issues with border-radius */
    /* Removed background-color as it's typically not needed for a logo */
}


/* --- Contact Page Specific Styles --- */
.contact-hero-section {
    background-color: var(--secondary-color); /* Dark blue background */
    color: var(--white-color);
    text-align: center;
    padding: 80px 0 50px 0;
}

.contact-hero-section h1 {
    color: var(--white-color);
    font-size: 3em;
    margin-bottom: 15px;
}

.contact-hero-section .tagline {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

.contact-details-form-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Info on left, form on right */
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info h2, .contact-form-container h2 {
    font-size: 2em;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-weight: 700;
}

.contact-info p {
    font-size: 1.05em;
    margin-bottom: 30px;
    color: var(--text-color);
}

.info-item {
    display: flex;
    align-items: flex-start; /* Align icon and text at top */
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0; /* Prevent icon from shrinking */
    padding-top: 5px; /* Adjust icon vertical alignment */
}

.info-item h4 {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.info-item p {
    margin-bottom: 0; /* Remove extra margin for paragraphs in info items */
    font-size: 1em;
}
.info-item p a {
    color: var(--text-color); /* Make links within info items blend in more */
    transition: color 0.3s ease;
}
.info-item p a:hover {
    color: var(--primary-color);
}

.btn-whatsapp-large {
    background-color: #25D366; /* WhatsApp green */
    color: var(--white-color);
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 20px;
    display: inline-flex; /* For icon and text alignment */
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-whatsapp-large i {
    font-size: 1.3em;
    margin-right: 10px;
}
.btn-whatsapp-large:hover {
    background-color: #1DA851; /* Darker green on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.social-links-contact {
    margin-top: 40px;
}
.social-links-contact h4 {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}
.social-links-contact a {
    font-size: 1.8em;
    margin-right: 20px;
    color: var(--text-color);
    transition: color 0.3s ease;
}
.social-links-contact a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 0.95em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    color: var(--text-color);
    background-color: var(--white-color);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Blue glow on focus */
    outline: none;
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}

/* Google Map Container */
.google-map-container {
    padding-top: 50px;
}
.google-map-container .section-title {
    margin-bottom: 10px;
}
.google-map-container .section-tagline {
    margin-bottom: 40px;
}
.google-map-container iframe {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    width: 100%;
}


/* --- About Page Specific Styles --- */
.about-hero-section {
    background-color: var(--secondary-color); /* Dark blue background */
    color: var(--white-color);
    text-align: center;
    padding: 80px 0 50px 0;
}

.about-hero-section h1 {
    color: var(--white-color);
    font-size: 3em;
    margin-bottom: 15px;
}

.about-hero-section .tagline {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

.about-intro-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Text wider than image */
    gap: 50px;
    align-items: center;
}

.about-intro-section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}
.about-intro-section p {
    font-size: 1.05em;
    color: var(--text-color);
}
.about-intro-section p strong { /* Highlighting district/taluk names */
    color: var(--primary-color);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.mission-vision-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.mv-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}
.mv-card i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.mv-card h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.mv-card p {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.7;
}

.local-commitment-section {
    padding: 80px 0;
    background-color: var(--white-color);
    text-align: center;
}
.local-areas-content {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
    text-align: left; /* Align text within content area */
}
.local-areas-content p strong {
    color: var(--primary-color);
}
.local-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-top: 30px;
}

.our-values-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.value-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.value-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.value-item h4 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}
.value-item p {
    font-size: 0.95em;
    color: var(--text-color);
    line-height: 1.6;
}


/* --- Service Page Specific Styles (e.g., for SEO page) --- */
.breadcrumbs-section {
    background-color: var(--light-bg);
    padding: 15px 0;
    font-size: 0.9em;
    border-bottom: 1px solid var(--border-color);
}
.breadcrumbs-section p {
    margin: 0;
    color: var(--text-color);
}
.breadcrumbs-section a {
    color: var(--secondary-color);
    font-weight: 500;
}
.breadcrumbs-section a:hover {
    color: var(--primary-color);
}

.service-intro-section {
    padding: 80px 0;
    background-color: var(--white-color);
    text-align: center;
}
.service-intro-section .section-title {
    margin-bottom: 20px;
    font-size: 3em;
}
.service-intro-section .section-tagline {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}
.service-overview-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05em;
    line-height: 1.7;
    text-align: left; /* Align text within overview content */
}
.service-overview-content p strong {
    color: var(--primary-color); /* Highlight strong text like location/keywords */
}

.service-packages-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}
.service-packages-section .package-grid {
    margin-top: 60px;
}

.package-features {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    padding-left: 0; /* Remove default padding */
    font-size: 0.95em;
    color: var(--text-color);
    flex-grow: 1; /* Allow features list to grow */
}
.package-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px; /* Space for icon */
}
.package-features li:last-child {
    margin-bottom: 0;
}
.package-features li i {
    color: #28a745; /* Green checkmark */
    position: absolute;
    left: 0;
    top: 5px; /* Adjust vertical alignment */
    font-size: 0.9em;
}

/* Why Choose Us for SEO section */
.why-choose-us-seo {
    padding: 80px 0;
    background-color: var(--white-color);
    text-align: center;
}
.why-choose-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}
.why-choose-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
}
.why-choose-list li {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1em;
    color: var(--secondary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.why-choose-list li i {
    color: #28a745; /* Green checkmark */
    margin-right: 15px;
    font-size: 1.2em;
    flex-shrink: 0;
}


/* --- Blog Listing Page Specific Styles (blog/index.php) --- */
.blog-hero-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 80px 0 50px 0;
}

.blog-hero-section h1 {
    color: var(--white-color);
    font-size: 3em;
    margin-bottom: 15px;
}

.blog-hero-section .tagline {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

.blog-posts-listing-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* Increased gap */
}

.blog-post-card {
    background-color: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden; /* Ensures image corners are rounded */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.blog-post-card .post-image {
    width: 100%;
    height: 220px; /* Fixed height for consistent image size */
    overflow: hidden;
}
.blog-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.blog-post-card:hover .post-image img {
    transform: scale(1.05); /* Subtle zoom on image hover */
}

.blog-post-card .post-content {
    padding: 25px;
    flex-grow: 1; /* Allows content area to grow */
    display: flex;
    flex-direction: column; /* For proper spacing of elements */
}

.blog-post-card .post-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    line-height: 1.3;
}
.blog-post-card .post-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog-post-card .post-title a:hover {
    color: var(--primary-color);
}

.blog-post-card .post-meta {
    font-size: 0.85em;
    color: var(--text-color);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color); /* Separator */
    padding-bottom: 10px;
}
.blog-post-card .post-meta a {
    color: var(--text-color);
    font-weight: 500;
}
.blog-post-card .post-meta a:hover {
    color: var(--primary-color);
}

.blog-post-card .post-excerpt {
    font-size: 0.95em;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.blog-post-card .btn-readmore {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    font-size: 0.9em;
    font-weight: 500;
    align-self: flex-start; /* Align button to start */
}
.btn-readmore:hover {
    background-color: var(--button-primary-hover);
}

.no-posts-message {
    text-align: center;
    font-size: 1.2em;
    color: var(--text-color);
    padding: 50px 0;
}
.no-posts-message a {
    color: var(--primary-color);
    font-weight: 600;
}


/* --- Blog Single Post Page Specific Styles (blog/post.php) --- */
.blog-single-hero-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 60px 0 40px 0; /* Slightly less padding than main hero */
}

.blog-single-hero-section .breadcrumbs {
    font-size: 0.9em;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}
.blog-single-hero-section .breadcrumbs a {
    color: rgba(255,255,255,0.9);
}
.blog-single-hero-section .breadcrumbs a:hover {
    color: var(--primary-color);
}

.blog-single-hero-section h1 {
    color: var(--white-color);
    font-size: 2.8em; /* A bit smaller for article titles */
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-single-hero-section .post-meta-single {
    font-size: 0.95em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}
.blog-single-hero-section .post-meta-single a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}
.blog-single-hero-section .post-meta-single a:hover {
    color: var(--primary-color);
}

.blog-post-content-section {
    padding: 60px 0;
    background-color: var(--white-color);
}
.blog-post-content-section .container {
    max-width: 900px; /* Wider content area for blog posts */
}

.single-post-featured-image {
    margin-bottom: 40px;
    text-align: center; /* Center image */
}
.single-post-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.post-body-content {
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--text-color);
}
.post-body-content h2,
.post-body-content h3,
.post-body-content h4 {
    color: var(--secondary-color);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 700;
}
.post-body-content p {
    margin-bottom: 1.5em;
}
.post-body-content ul,
.post-body-content ol {
    margin-left: 25px;
    margin-bottom: 1.5em;
}
.post-body-content ul li,
.post-body-content ol li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.post-body-content img { /* Styles for images within post content */
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.post-body-content a {
    font-weight: 500;
}

.post-tags {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.post-tags h4 {
    font-size: 1.1em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: inline-block;
    margin-right: 10px;
}
.post-tags .tag-link {
    background-color: var(--light-bg);
    color: var(--secondary-color);
    padding: 6px 15px;
    border-radius: 20px;
    margin: 5px;
    display: inline-block;
    font-size: 0.85em;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.post-tags .tag-link:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.back-to-blog {
    text-align: center;
    margin-top: 40px;
}

.error-message-text {
    text-align: center;
    font-size: 1.2em;
    color: #dc3545; /* Red for error */
    padding: 30px 0;
}
.back-link {
    text-align: center;
}


/* --- Admin Panel Specific Styles (for blog/admin.php) --- */
.admin-main {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.admin-section .section-title,
.admin-section .section-tagline {
    text-align: left; /* Align admin headings to left */
    margin-left: 0;
    margin-right: 0;
}
.admin-section .section-title {
    font-size: 2.2em;
    margin-bottom: 10px;
}
.admin-section .section-tagline {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--text-color);
}


.admin-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    max-width: 800px; /* Limit form width */
    margin: 0 auto;
}

/* Reusing existing form-group styles from contact page */
.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 0.95em;
}

.admin-form input[type="text"],
.admin-form input[type="url"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    color: var(--text-color);
    background-color: var(--white-color);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.admin-form textarea {
    resize: vertical;
    min-height: 250px; /* Larger text area for content */
}

/* Alert messages (success/error) */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* --- Web Portals Service Page Specific Styles --- */
.types-of-portals-section {
    padding: 80px 0;
    background-color: var(--white-color); /* Or light-bg for contrast */
}

.portal-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portal-type-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.portal-type-card i {
    font-size: 3.5em; /* Larger icons for these cards */
    color: var(--primary-color);
    margin-bottom: 20px;
}

.portal-type-card h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.portal-type-card p {
    font-size: 0.95em;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}


/* --- Scroll Animation Effects --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px); /* Start 50px down */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Animation properties */
    will-change: opacity, transform; /* Optimize for performance */
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Add different delays or types of animation */
.services-expertise-section .service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay); /* Use CSS variable for staggered effect */
}
.services-expertise-section.is-visible .service-card {
    opacity: 1;
    transform: translateY(0);
}

.featured-services-section .package-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay);
}
.featured-services-section.is-visible .package-card {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-section .testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay);
}
.testimonials-section.is-visible .testimonial-card {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Add a subtle animation to the hero section's content on page load */
.hero-content h1,
.hero-content .tagline,
.hero-content .search-bar,
.hero-content .trending-keywords,
.hero-content .watch-demo {
    opacity: 0;
    animation: fadeInSlideUp 1.2s ease-out forwards;
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content .tagline { animation-delay: 0.4s; }
.hero-content .search-bar { animation-delay: 0.6s; }
.hero-content .trending-keywords { animation-delay: 0.8s; }
.hero-content .watch-demo { animation-delay: 1s; }

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Responsive Design (Mobile-First) --- */
/* Global responsive font size adjustments */
@media (max-width: 1200px) {
    h1 { font-size: 3.2em; }
    h2 { font-size: 2.5em; }
}

/* Tablet (Portrait to Landscape) */
@media (max-width: 992px) {
    /* Header adjustments */
    .main-header .container {
        flex-wrap: nowrap;
        justify-content: center;
    }
    .main-header .logo {
        flex-grow: 1;
        text-align: left;
    }

    .main-nav {
        order: 3; /* Move nav below logo/contact on mobile */
        width: 100%;
        margin-top: 15px;
    }

    .main-nav .nav-links {
        flex-direction: column;
        width: 100%;
        display: none; /* Hidden by default for mobile menu */
        background-color: var(--white-color);
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        right: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        padding: 10px 0;
        z-index: 15;
        border-top: 1px solid var(--border-color);
    }

    .main-nav .nav-links.active {
        display: flex; /* Show when active */
    }

    .main-nav li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        padding: 15px 25px; /* More padding */
        color: var(--secondary-color);
    }

    .main-nav .dropdown-menu {
        position: static; /* Stack dropdown items normally */
        box-shadow: none;
        border-top: none;
        padding: 0;
        background-color: var(--light-bg);
        border-radius: 0;
    }
    .main-nav .dropdown-menu a {
        padding-left: 45px; /* Deeper indent for dropdown items */
        color: var(--text-color);
    }

    .hamburger-menu {
        display: flex; /* Show on mobile */
        margin-left: auto; /* Push to the right */
        order: 2;
    }

    .header-contact {
        display: flex; /* Keep contact number visible on tablet */
        order: 1;
        flex-grow: 1;
        justify-content: flex-end;
    }
    .header-contact .phone-number {
        font-size: 1em;
        margin-right: 15px;
    }
    .header-contact .btn-primary {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    /* Hero section adjustments */
    .hero-content h1 {
        font-size: 2.5em; /* Smaller on tablet */
    }
    .hero-content .tagline {
        font-size: 1.2em;
    }

    /* Search bar stacking */
    .search-bar {
        flex-direction: column; /* Stack elements vertically */
        background-color: transparent; /* Remove background on mobile search bar */
        box-shadow: none;
    }
    .search-bar select,
    .search-bar input[type="text"],
    .search-bar button {
        border-radius: 8px; /* Rounded corners for all elements */
        margin-bottom: 15px; /* Spacing between stacked elements */
        width: 100%; /* Full width */
        max-width: 100%; /* Override max-width */
        border: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Add shadow to each field */
        background-color: var(--white-color); /* White background for inputs */
        height: 55px; /* Slightly taller inputs */
    }
    .search-bar button {
        margin-bottom: 0;
        background-color: var(--primary-color); /* Blue search button */
        color: var(--white-color);
    }

    .trending-keywords {
        margin-top: 20px;
        margin-bottom: 30px;
        text-align: center;
    }
    .trending-keywords span {
        display: block; /* Stack keyword label */
        margin-bottom: 10px;
    }
    .keyword-btn {
        margin: 5px; /* Keep small margin */
    }

    /* Service grids adjustment for tablet */
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* 2 columns on tablet */
        gap: 25px;
    }

    .section-title {
        font-size: 2.2em;
    }
    .section-tagline {
        font-size: 1em;
    }

    .package-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 2 columns on tablet if space allows */
    }

    /* Footer adjustments for tablet */
    .main-footer .footer-col {
        flex-basis: 48%; /* 2 columns on tablet */
        padding: 0 10px;
    }
    .main-footer .footer-col.about-col {
        flex-basis: 100%; /* Full width for about column */
        text-align: center;
    }
    .main-footer .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .main-footer .social-links {
        justify-content: center;
        display: flex;
        margin-top: 20px;
    }

    /* Contact page responsive */
    .contact-content-grid {
        grid-template-columns: 1fr; /* Stack columns on tablet */
        gap: 40px;
    }
    .contact-info h2, .contact-form-container h2 {
        text-align: center;
    }
    .contact-info p {
        text-align: center;
    }
    .info-item {
        justify-content: center; /* Center align info items on mobile */
    }
    .social-links-contact {
        text-align: center;
    }
    .social-links-contact h4 {
        text-align: center;
    }
    .social-links-contact a {
        margin: 0 10px; /* Adjust spacing */
    }
    .btn-whatsapp-large {
        width: 100%; /* Full width button on mobile */
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    /* About page responsive */
    .about-content-grid {
        grid-template-columns: 1fr; /* Stack on tablets */
        gap: 30px;
    }
    .about-text, .about-image {
        text-align: center;
    }
    .about-image img {
        max-width: 80%; /* Limit image width */
        margin: 0 auto;
    }
    .mv-grid, .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 2 columns on tablet */
        gap: 25px;
    }

    /* Service page responsive */
    .service-intro-section .section-title {
        font-size: 2.5em;
    }
}

/* Mobile (smaller screens) */
@media (max-width: 576px) {
    /* Header adjustments for very small screens */
    .main-header .container {
        justify-content: space-between;
    }
    .main-header .header-contact {
        display: none; /* Hide on very small screens to save space */
    }

    /* Hero section text size */
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content .tagline {
        font-size: 1em;
    }
    .top-announcement-bar p {
        font-size: 0.8em;
    }

    /* Section titles for small screens */
    .section-title {
        font-size: 1.8em;
    }
    .section-tagline {
        font-size: 0.95em;
    }

    /* Service grids stacking */
    .service-grid {
        grid-template-columns: 1fr; /* Single column for services on smallest screens */
    }
    .package-grid {
        grid-template-columns: 1fr; /* Single column for packages on smallest screens */
    }

    /* Mid/Final CTA adjustments */
    .mid-cta-section h3, .final-cta-section h3 {
        font-size: 2em;
    }
    .mid-cta-section p, .final-cta-section p {
        font-size: 1.1em;
    }

    /* Contact page responsive */
    .contact-hero-section {
        padding: 60px 0 30px 0;
    }
    .contact-hero-section h1 {
        font-size: 2.2em;
    }
    .contact-hero-section .tagline {
        font-size: 1em;
    }
    .contact-details-form-section {
        padding: 50px 0;
    }
    .contact-info h2, .contact-form-container h2 {
        font-size: 1.8em;
    }

    /* About page responsive */
    .about-hero-section h1 {
        font-size: 2.2em;
    }
    .about-hero-section .tagline {
        font-size: 1em;
    }
    .about-intro-section h2 {
        font-size: 2em;
    }
    .mv-grid, .values-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }

    /* Service page responsive */
    .service-intro-section .section-title {
        font-size: 2em;
    }
    .service-intro-section .section-tagline {
        font-size: 1em;
    }
    .why-choose-list ul {
        grid-template-columns: 1fr; /* Stack reasons on mobile */
    }

    /* Web Portals Service Page Responsive */
    .portal-types-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
}
/* --- Portfolio Page Specific Styles --- */
.portfolio-hero-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    padding: 80px 0 50px 0;
}

/* ... (rest of the CSS for .portfolio-hero-section, .portfolio-grid-section, .portfolio-filters, etc.) ... */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.portfolio-item img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover; /* This is the magic! It crops to fit while maintaining aspect ratio */
    display: block;
    transition: transform 0.3s ease;
}

/* ... (rest of the CSS for portfolio-item, img, item-overlay, etc., including responsive adjustments) ... */
/* --- File Structure Page Specific Styles --- */
.file-structure-code-block {
    background-color: #f8f8f8; /* Light grey background for code block */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    overflow-x: auto; /* Enable horizontal scrolling for long lines */
    font-size: 0.9em;
    line-height: 1.4;
}

.file-structure-code-block pre {
    margin: 0;
    padding: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace; /* Monospaced font for code */
    color: #333;
}

.file-structure-code-block code {
    display: block; /* Ensures each line is on its own */
}
/* Styling for back to portfolio button on single project pages */
.back-to-portfolio {
    text-align: center;
    margin-top: 40px;
	/* --- Package Details Page Specific Styles (for individual package pages) --- */
.package-details-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.package-details-section .container {
    max-width: 1000px; /* Wider container for package details */
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Features on left, pricing on right */
    gap: 60px;
    align-items: flex-start; /* Align items to the top */
}

.details-card {
    background-color: var(--light-bg);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    height: 100%; /* Ensure cards fill height */
}

.details-card h2 {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: left; /* Align heading to left */
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    font-size: 1.05em;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px; /* Space for icon */
    line-height: 1.5;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list li i {
    color: #28a745; /* Green checkmark */
    position: absolute;
    left: 0;
    top: 3px; /* Adjust vertical alignment */
    font-size: 1.1em;
}

.pricing-card {
    background-color: var(--primary-color); /* Blue background for pricing card */
    color: var(--white-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pricing-card h2 {
    color: var(--white-color); /* White heading on blue background */
    margin-bottom: 20px;
}

.price-large {
    font-size: 2.8em; /* Large price font */
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white-color);
}

.price-note {
    font-size: 0.9em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.pricing-card .btn-cta-primary {
    background-color: var(--secondary-color); /* Dark blue button on pricing card */
    color: var(--white-color);
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 600;
}
.pricing-card .btn-cta-primary:hover {
    background-color: var(--heading-color);
}

.pricing-card .small-text {
    font-size: 0.85em;
    color: rgba(255,255,255,0.7);
    margin-top: 25px;
    line-height: 1.4;
}
.pricing-card .small-text a {
    color: var(--white-color);
    text-decoration: underline;
}
.pricing-card .small-text a:hover {
    color: var(--accent-color);
}

/* Responsive adjustments for Package Details Page */
@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr; /* Stack columns on tablet */
        gap: 40px;
    }
    .details-card h2 {
        text-align: center;
    }
    .features-list {
        text-align: center;
    }
    .features-list li {
        padding-left: 0; /* Remove padding for centered items */
        display: inline-block; /* For horizontal spacing if needed */
        margin: 5px 10px; /* Adjust spacing */
    }
    .features-list li i {
        position: static; /* Remove absolute positioning */
        margin-right: 8px; /* Space between icon and text */
        display: inline-block;
    }
}
@media (max-width: 576px) {
    .details-card {
        padding: 25px;
    }
    .details-card h2 {
        font-size: 1.8em;
    }
    .price-large {
        font-size: 2.2em;
    }
    .features-list li {
        font-size: 0.95em;
        margin-bottom: 10px;
    }
	/* --- Image Optimizer Specific Styles (for admin/optimize-images.php) --- */
.image-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
    max-height: 500px; /* Limit height for scrollability */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--light-bg);
}

.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--white-color);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.image-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.image-item input[type="checkbox"] {
    margin-bottom: 10px;
    transform: scale(1.2); /* Make checkbox slightly larger */
}

.image-item label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-weight: normal; /* Override admin-form label bold */
    color: var(--text-color);
}

.image-item img {
    max-width: 100px; /* Thumbnail size */
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 8px;
}

.image-item span {
    font-size: 0.8em;
    word-break: break-all; /* Break long filenames */
    max-height: 3em; /* Limit text height */
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-form .checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.admin-form .checkbox-group label {
    margin-bottom: 0;
    margin-right: 10px;
    flex-shrink: 0;
}
.admin-form .checkbox-group input[type="number"] {
    width: 80px;
    padding: 5px 8px;
    font-size: 0.9em;
}
.admin-form .small-text {
    font-size: 0.85em;
    color: var(--text-color);
    margin-top: -5px;
    margin-bottom: 20px;
}

/* Responsive adjustments for Image Optimizer */
@media (max-width: 768px) {
    .image-selection-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    .image-item img {
        max-width: 80px;
        max-height: 80px;
    }
}
/* Styling for form messages container */
.alert-container {
    min-height: 50px; /* Reserve space for messages */
    margin-bottom: 20px;
}
}
}