/* DNS Renewal - Trust & Minimal Theme */
:root {
    --primary: #001F3F;
    /* Deep Navy */
    --accent: #2E89FF;
    /* Electric Blue */
    --dark: #0f172a;
    --light: #F8FAFC;
    --white: #ffffff;
    --gray: #64748b;
    --border: #e2e8f0;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Pretendard', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light);
}

.bg-navy {
    background-color: var(--primary);
}

.text-white {
    color: var(--white);
}

.highlight {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
    background-color: var(--accent);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
}

.btn-full:hover {
    background-color: #1a73e8;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Navbar Dropdown */
.nav-links li {
    position: relative;
    padding: 10px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 260px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown-menu li {
    padding: 0;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    text-align: left;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--accent);
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
}

.btn-nav:hover {
    background: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary);
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

/* Trust Indicators */
.trust-indicators {
    margin-top: 80px;
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.trust-item {
    padding-right: 60px;
}

.trust-item.border-l {
    padding-left: 60px;
    border-left: 1px solid var(--border);
}

.trust-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.4;
}

.trust-item p span {
    font-weight: 400;
    color: var(--gray);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
    /* Cards stretch to match height */
}

.svc-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.svc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.08);
    border-color: var(--accent);
}

.svc-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.svc-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.svc-text {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 24px;
    min-height: 48px;
}

.svc-list li {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.svc-list li i {
    color: var(--accent);
    font-size: 0.8em;
}

/* Technology */
.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.tech-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tech-item h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.tech-item p {
    font-size: 0.95rem;
    color: var(--gray);
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cert-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.cert-card:hover {
    border-color: var(--accent);
}

.cert-card i {
    font-size: 2rem;
    color: var(--primary);
}

.cert-card span {
    font-weight: 600;
    color: var(--dark);
}

/* Company */
.ceo-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--light);
    border-radius: 24px;
    padding: 60px;
}

.ceo-image {
    flex: 0 0 300px;
}

.img-placeholder {
    width: 300px;
    height: 350px;
    background: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray);
}

.ceo-text .sub-title {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 12px;
}

.ceo-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.quote-text {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.8;
}

.vision-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.signature {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--primary);
    border-top: 1px solid #cbd5e1;
    padding-top: 20px;
    display: inline-block;
    padding-right: 40px;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.contact-items {
    margin-top: 40px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.c-item i {
    width: 24px;
    text-align: center;
}

.security-badges {
    margin-top: 60px;
    display: flex;
    gap: 20px;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46, 137, 255, 0.1);
}

/* Footer */
footer {
    background: #00152a;
    /* Darker than primary */
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
    text-align: center;
}

.f-logo {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

footer .logo {
    color: white;
}

.footer-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-info p {
    margin-bottom: 4px;
}

/* Animations */
.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ceo-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .signature {
        border-top: none;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Add JS toggle later */
    .mobile-toggle,
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 30px;
    }

    .trust-item.border-l {
        border-left: none;
        padding-left: 0;
    }
}

/* Theme Refinement Overrides */
.ceo-wrapper {
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.05);
}

/* Message Visual Override */
.message-visual {
    width: 300px;
    height: 350px;
    background: linear-gradient(135deg, var(--light) 0%, #e2e8f0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.8;
}

/* CEO Text Centering Override */
.ceo-wrapper {
    justify-content: center;
    text-align: center;
}

.ceo-text {
    max-width: 800px;
    margin: 0 auto;
}

.signature {
    text-align: center;
    display: block;
    padding-right: 0;
}

/* Location Section */
.location-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: #e2e8f0;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-align: center;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
    opacity: 0.5;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loc-item {
    display: flex;
    gap: 16px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.loc-item:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.loc-item .icon {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.loc-item h4 {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 4px;
}

.loc-item p {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
}

@media(max-width: 768px) {
    .location-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }

    .map-container {
        height: 300px;
    }
}

/* Service Image Styling */
.svc-img-wrapper {
    width: 100%;
    height: 200px;
    margin: 24px 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.svc-card:hover .svc-img {
    transform: scale(1.05);
}



a.svc-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure equal height in grid */
    cursor: pointer;
}

a.svc-card h3 {
    text-decoration: none;
    color: var(--dark);
}

a.svc-card:hover h3 {
    color: var(--accent);
}