/* SUNSEA GLOBAL ESTATES - Professional Blue Theme */

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

:root {
    /* Professional Blue Color Scheme */
    --primary-blue: #0047AB;        /* Rich Royal Blue */
    --secondary-blue: #1E90FF;      /* Vibrant Dodger Blue */
    --light-blue: #4A90E2;          /* Soft Sky Blue */
    --dark-blue: #003366;           /* Deep Navy Blue */
    --accent-blue: #00BFFF;         /* Bright Sky Blue */
    --text-dark: #1a1a1a;
    --text-light: #555;
    --white: #ffffff;
    --light-bg: #f8fbff;
    --gradient-blue: linear-gradient(135deg, #0047AB, #1E90FF);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-blue);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

/* Header - Blue Theme */
.header {
    background: var(--dark-blue);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 71, 171, 0.3);
}

.top-bar {
    background: rgba(30, 144, 255, 0.15);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.top-bar-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-list i {
    color: var(--accent-blue);
}

.top-bar-list a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-list a:hover {
    color: var(--accent-blue);
}

.primary-header {
    padding: 15px 0;
}

.primary-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 60px;
    width: auto;
    filter: brightness(1.1);
}

.header-menu-wrap nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.header-menu-wrap nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

.header-menu-wrap nav a:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section - Blue Theme */
.hero-section {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.8), rgba(30, 144, 255, 0.6));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--white);
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid var(--accent-blue);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 191, 255, 0.5);
}

/* Services Section - Blue Theme */
.services-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.section-heading p {
    color: var(--text-light);
    font-size: 1.15rem;
}

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

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid #e8f4ff;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 71, 171, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 71, 171, 0.15);
    border-color: var(--light-blue);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--gradient-blue);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.service-content {
    padding: 35px 30px;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: -55px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(0, 71, 171, 0.2);
    border: 3px solid var(--light-blue);
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 1.6rem;
    text-align: center;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: center;
}

.btn-secondary {
    display: block;
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid var(--secondary-blue);
    border-radius: 50px;
    transition: all 0.3s;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
}

.btn-secondary:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
}

/* About Section - Blue Theme */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0.1;
    border-radius: 15px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 71, 171, 0.2);
}

.about-text h2 {
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-light);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
    font-size: 1.4rem;
}

/* Contact Section - Blue Theme */
.contact-section {
    padding: 100px 0;
    background: var(--gradient-blue);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-section h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 2.8rem;
}

.contact-section p {
    font-size: 1.25rem;
    margin-bottom: 50px;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.contact-item {
    text-align: center;
    position: relative;
}

.contact-item i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    opacity: 0.95;
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.contact-item a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Footer - Blue Theme */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-bar-list {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-menu-wrap nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 40px;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.loading:nth-child(1) { animation-delay: 0.1s; }
.loading:nth-child(2) { animation-delay: 0.2s; }
.loading:nth-child(3) { animation-delay: 0.3s; }
.loading:nth-child(4) { animation-delay: 0.4s; }
.loading:nth-child(5) { animation-delay: 0.5s; }
.loading:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   ENHANCED SERVICE PAGE STYLES
   ======================================== */

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 71, 171, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 71, 171, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 71, 171, 0.15);
    border-color: rgba(0, 71, 171, 0.2);
}

.service-card .service-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

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

.service-card h3 {
    color: #0047AB;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-card h3 i {
    color: #1E90FF;
    font-size: 1.5rem;
}

.service-card p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.service-card p:last-of-type {
    margin-bottom: 0;
}

/* CTA Section Styling */
.cta-section {
    background: linear-gradient(135deg, #0047AB, #1E90FF);
    padding: 70px 50px;
    border-radius: 25px;
    text-align: center;
    color: white;
    margin-top: 60px;
    box-shadow: 0 20px 60px rgba(0, 71, 171, 0.3);
}

.cta-section h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 45px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #0047AB;
    border: 3px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 3px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: #0047AB;
    transform: translateY(-3px);
}

/* Responsive Design for Service Cards */
@media (max-width: 768px) {
    .service-card {
        padding: 30px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-card p {
        font-size: 1.05rem;
    }
    
    .service-card .service-image {
        height: 200px;
    }
    
    .cta-section {
        padding: 50px 30px;
    }
    
    .cta-section h3 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Section Heading Improvements */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0047AB;
    margin-bottom: 20px;
}

.section-heading p {
    font-size: 1.3rem;
    color: #555;
}

/* Services Section Padding */
.services-section {
    padding: 80px 0;
}


/* ========================================
   24/7 AVAILABILITY BANNER
   ======================================== */

.availability-banner {
    background: linear-gradient(135deg, #0047AB, #1E90FF) !important;
    text-align: center !important;
    padding: 10px 0 !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px !important;
    animation: fadeIn 1s ease !important;
}

.availability-banner i {
    margin-right: 8px;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Free Consultation Section Responsive */
@media (max-width: 768px) {
    .free-consultation-section h2 {
        font-size: 2rem !important;
    }
    
    .free-consultation-section > div > div > div:nth-child(3) > div {
        grid-template-columns: 1fr !important;
    }
}

