/* =========================================================
   CORE VARIABLES & RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #22c55e;
    --brand-green: #087443;
    --dark-green: #053b22;
    --gold: #dcae32;
    --navy: #071d2b;
    --light-bg: #f7f9f8;
    --white: #ffffff;
    --text: #2c3e50;
    --border: #e2e8f0;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

/* =========================================================
   ANIMATIONS & KEYFRAMES
========================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(8, 116, 67, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(8, 116, 67, 0); }
    100% { box-shadow: 0 0 0 0 rgba(8, 116, 67, 0); }
}

@keyframes logoShimmer {
    0% { filter: drop-shadow(0 0 0px rgba(34, 197, 94, 0)); }
    50% { filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6)); }
    100% { filter: drop-shadow(0 0 0px rgba(34, 197, 94, 0)); }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-content {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =========================================================
   HEADER & TWO-TIER NAVIGATION WITH ANIMATED ICONS & LOGO
========================================================= */
.site-header {
    background: #000000 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

/* Top Information Bar */
.top-bar {
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Animated Logo */
.logo {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff !important;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.04);
}

.logo span {
    color: var(--green);
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), color 0.3s ease;
    animation: logoShimmer 4s infinite ease-in-out;
}

.logo:hover span {
    transform: translateY(-2px) rotate(-3deg);
    color: #4ade80;
}

/* Top Contact Items & Hover Animations */
.top-contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.contact-item i {
    color: var(--green);
    font-size: 22px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-sub {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.3;
}

.contact-item:hover {
    transform: translateX(3px);
}

.contact-item:hover i {
    transform: scale(1.25) rotate(10deg);
    color: var(--gold);
    animation: iconBounce 0.6s ease;
}

/* Animated Social Buttons & Vertical Divider */
.top-social-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-divider {
    width: 1px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.25);
}

.header-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #0075ff;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                background-color 0.3s ease, 
                box-shadow 0.3s ease;
}

.social-btn i {
    transition: transform 0.4s ease;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.12);
    background-color: var(--green);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

.social-btn:hover i {
    transform: rotate(360deg);
}

/* Main Navigation Bar */
.main-nav-bar {
    background: #111111;
    border-top: 2px solid var(--green);
}

.nav-container {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff !important;
    position: relative;
    transition: var(--transition);
    padding: 18px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--green);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green) !important;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Language Selector & Search Bar Animations */
.nav-extras {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 2px;
    transition: var(--transition);
}

.lang-selector .flag-icon {
    font-size: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.lang-selector:hover .flag-icon {
    transform: scale(1.2) rotate(-5deg);
}

.lang-selector select {
    background: transparent;
    border: none;
    color: #111111;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input {
    background: transparent;
    border: none;
    padding: 6px 32px 6px 10px;
    color: #ffffff;
    font-size: 14px;
    width: 160px;
    outline: none;
    transition: var(--transition);
}

.header-search input::placeholder {
    color: #888888;
    font-style: italic;
}

.header-search input:focus {
    width: 190px;
}

.header-search button {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
}

.header-search button i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.header-search input:focus + button i,
.header-search button:hover i {
    transform: scale(1.3) rotate(15deg);
    color: var(--green);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 26px;
    height: 3px;
    background: #ffffff !important;
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 3px;
    background: #ffffff !important;
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Dynamic Button Legacy Utility */
.nav-button {
    background: linear-gradient(135deg, var(--brand-green), var(--dark-green));
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(8, 116, 67, 0.25);
    transition: var(--transition);
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(8, 116, 67, 0.35);
}

/* =========================================================
   HERO SECTION & SWIPER CAROUSEL EXTENSIONS
========================================================= */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.myHeroSwiper {
    width: 100%;
    min-height: 720px;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        100deg,
        rgba(7, 29, 43, 0.96) 0%,
        rgba(7, 29, 43, 0.82) 55%,
        rgba(7, 29, 43, 0.3) 100%
    );
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 760px;
    color: white;
    padding: 40px 0;
}

.swiper-slide-active .hero-content {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-slide h1, 
.hero h1 {
    font-size: clamp(42px, 5.8vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-slide p,
.hero p {
    font-size: 19px;
    color: #e2e8f0;
    max-width: 620px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-weight: 700;
    border-radius: 6px;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: #111;
    box-shadow: 0 4px 15px rgba(220, 174, 50, 0.3);
}

.btn-primary:hover {
    background: #e6be3b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 174, 50, 0.4);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
}

.btn-secondary:hover {
    background: white;
    color: var(--navy);
    border-color: white;
    transform: translateY(-3px);
}

/* Swiper Navigation Customizations */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
    background: rgba(7, 29, 43, 0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--gold);
    color: var(--navy) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: 800;
}

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.6;
    width: 10px;
    height: 10px;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

/* =========================================================
   SECTIONS & TYPOGRAPHY
========================================================= */
.section {
    padding: 110px 0;
}

.section-light {
    background: var(--light-bg);
}

.section-title {
    max-width: 720px;
    margin-bottom: 60px;
}

.section-title span, .section-label {
    color: var(--brand-green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title h2, .why-content h2 {
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.18;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title p, .why-content p {
    margin-top: 16px;
    color: #64748b;
    font-size: 18px;
}

/* =========================================================
   PRODUCT CARDS GRID
========================================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(7, 29, 43, 0.08);
    border-color: transparent;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card-content {
    padding: 45px 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-number {
    font-size: 52px;
    font-weight: 900;
    color: #eef2f5;
    line-height: 1;
    margin-bottom: 20px;
    transition: var(--transition);
}

.product-card:hover .card-number {
    color: var(--brand-green);
}

.product-card h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 800;
}

.product-card p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--brand-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.product-card:hover .card-link {
    gap: 12px;
}

/* =========================================================
   WHY GILLDRILL SECTION
========================================================= */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content h2 {
    margin-bottom: 20px;
}

.why-content p {
    margin-bottom: 35px;
}

.text-link {
    font-weight: 700;
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--brand-green);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.feature {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 24px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 30px rgba(7, 29, 43, 0.05);
    border-color: rgba(8, 116, 67, 0.2);
}

.feature-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    background: var(--navy);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 700;
}

.feature p {
    color: #64748b;
    font-size: 15px;
}

/* =========================================================
   CALL TO ACTION BANNER
========================================================= */
.home-cta {
    padding: 60px 0 110px 0;
    background: var(--white);
}

.home-cta-content {
    background: linear-gradient(135deg, var(--navy) 0%, #04121b 100%);
    border-radius: 16px;
    padding: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: white;
    box-shadow: 0 25px 50px rgba(7, 29, 43, 0.2);
    position: relative;
    overflow: hidden;
}

.home-cta-content span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.home-cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.home-cta-content p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 520px;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    background: var(--navy);
    color: white;
    padding-top: 90px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 70px;
}

.footer-brand h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
    color: white;
}

.footer-links a,
.footer-contact p,
.footer-brand p {
    display: block;
    color: #cbd5e1;
    margin-bottom: 12px;
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 30px 0;
    color: #94a3b8;
    font-size: 14px;
}

/* =========================================================
   RESPONSIVE DESIGN BREAKPOINTS
========================================================= */
@media (max-width: 1024px) {
    .top-contact-info {
        display: none;
    }

    .top-social-bar {
        display: none;
    }

    .nav-extras {
        margin-left: auto;
    }

    .mobile-toggle {
        display: block; 
    }

    .main-nav {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000000 !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    }
    
    .main-nav.nav-active {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-cta-content {
        flex-direction: column;
        text-align: center;
        padding: 50px 25px;
    }
}

@media (max-width: 576px) {
    .header-search input {
        width: 120px;
    }
    
    .header-search input:focus {
        width: 140px;
    }
}