/* ================================
   GLOBAL STYLES & VARIABLES
   ================================ */

:root {
    --primary-color: #0098d4;
    --secondary-color: #00d4ff;
    --accent-color: #00e5ff;
    --light-bg: #f0f9ff;
    --white: #ffffff;
    --dark-text: #1a1a1a;
    --light-gray: #f5f5f5;
    --border-color: #e0f2ff;
    --shadow-light: 0 2px 8px rgba(0, 152, 212, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 152, 212, 0.12);
    --shadow-heavy: 0 8px 32px rgba(0, 152, 212, 0.15);
    --gradient-primary: linear-gradient(135deg, #0098d4 0%, #00d4ff 100%);
    --gradient-light: linear-gradient(135deg, #e0f7ff 0%, #f0f9ff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   LOADING ANIMATION
   ================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.6s ease-out 2s forwards;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-bg);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

/* ================================
   FLOATING BUBBLES
   ================================ */

.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.1), rgba(0, 152, 212, 0.05));
    border-radius: 50%;
    opacity: 0;
    animation: float 6s infinite ease-in-out;
}

.bubble:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 20%;
    animation-delay: 1.5s;
}

.bubble:nth-child(5) {
    width: 90px;
    height: 90px;
    bottom: 10%;
    right: 15%;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 1; }
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0f9ff 50%, #e8f4ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 152, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s infinite ease-in-out 1s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.05));
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ================================
   BUTTONS
   ================================ */

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 152, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 152, 212, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

.btn.full-width {
    width: 100%;
    justify-content: center;
}

/* ================================
   SECTION STYLES
   ================================ */

section {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

/* ================================
   SERVICES SECTION
   ================================ */

.services {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 100%);
    transition: left 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ================================
   GALLERY SECTION
   ================================ */

.gallery {
    padding: 80px 20px;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 152, 212, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

/* ================================
   ABOUT SECTION
   ================================ */

.about {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0f9ff 100%);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.about-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.about-feature i {
    font-size: 28px;
    color: var(--primary-color);
}

.about-feature span {
    font-weight: 600;
    color: var(--dark-text);
}

/* ================================
   CONTACT SECTION
   ================================ */

.contact {
    padding: 80px 20px;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: var(--shadow-light);
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: var(--white);
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 152, 212, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ================================
   MAP SECTION
   ================================ */

.map-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0f9ff 100%);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: linear-gradient(135deg, #0a2e3a 0%, #0d4a5a 100%);
    color: var(--white);
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 18px;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ================================
   WHATSAPP FLOATING BUTTON
   ================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow-medium);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 14px;
    }

    .services {
        padding: 60px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery {
        padding: 60px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .about {
        padding: 60px 20px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact {
        padding: 60px 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-section {
        padding: 60px 20px;
    }

    .map-container iframe {
        height: 300px !important;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        height: 70px;
        padding: 0 15px;
    }

    .logo {
        font-size: 20px;
    }

    .logo i {
        font-size: 24px;
    }

    html {
        scroll-padding-top: 70px;
    }

    .hero {
        margin-top: 70px;
        padding: 30px 15px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 13px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .about-text {
        font-size: 14px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-form {
        gap: 15px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 12px 12px;
        font-size: 13px;
    }

    .contact-item {
        padding: 15px;
        gap: 15px;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer-content {
        margin-bottom: 20px;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 15px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

/* ================================
   UTILITY CLASSES
   ================================ */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.gap-20 {
    gap: 20px;
}

/* ================================
   SCROLLBAR STYLING
   ================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0077a8;
}
/* Hero Buttons */
.hero-buttons{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 25px;
}

/* Common Button Style */
.btn{
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Primary Button */
.btn-primary{
    background: #0077ff;
    color: #fff;
}

.btn-primary:hover{
    background: #005fd1;
    transform: translateY(-3px);
}

/* WhatsApp Button */
.btn-secondary{
    background: #25D366;
    color: #fff;
}

.btn-secondary:hover{
    background: #1ebe5d;
    transform: translateY(-3px);
}

/* Call Now Button */
.btn-call{
    background: #ff6b00;
    color: #fff;
}

.btn-call:hover{
    background: #e55f00;
    transform: translateY(-3px);
}