/* Ceylon Export Ventures - Custom Styles */
:root {
    --primary-black: #1a1a1a;
    --primary-gold: #d4af37;
    --gold-light: #f4e4bc;
    --gold-dark: #b8941f;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Header Styles */
.navbar {
    /*background-color: var(--bg-light) !important;*/
    background-color: #000000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-black) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #ffffff !important;
}

.navbar-brand .brand-name {
    line-height: 1.2;
}

.navbar-brand .brand-name span {
    color: var(--primary-gold);
}

.navbar-brand .brand-tagline {
    font-size: 13px;
    font-weight: normal;
    /*color: var(--text-light);*/
    color: #e0e0e0 !important;
    line-height: 1;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    /*color: var(--text-dark) !important;*/
    color: #e0e0e0 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-gold) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-gold) !important;
    border-bottom: 2px solid var(--primary-gold);
}

.navbar-toggler-icon{
    background-color: var(--primary-gold);
    border-radius: 5px;

}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 26, 26, 0.05) 100%);
    padding: 100px 0;
    text-align: center;
    height: 100vh;
}

/* Hero Section with Background Video */
.hero-video-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    background: var(--primary-black);
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.814) 0%, rgba(0, 0, 0, 0.821)0%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    margin-top: 8%
}

.hero-video-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-video-section h1 .gold-text {
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-video-section p {
    font-size: 1.25rem;
    color: #FFF;
    margin-bottom: 2rem;
}

.hero-video-section .lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFF;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: var(--primary-black);
    padding: 12px 30px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
    border: 2px solid var(--primary-gold);
    color: #FFF;
    padding: 10px 28px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background-color: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 50px 0;
}

/* Subpage Header - Reduced Spacing with Background */
.subpage-header {
    padding: 40px 0 20px !important;
    margin-top: 76px;
    position: relative;
    background-image: url('../images/sub.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    height: 60vh;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

.subpage-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.819) 0%, rgba(255, 255, 255, 0.726) 100%);
    z-index: 1;
    pointer-events: none;
}

.subpage-header .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-black);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    margin: 1rem auto;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    overflow: hidden;
    height: 430px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.card-img-top {
    height: 430px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}
@media (max-width: 600px) {
    .card-img-top {
        height: 300px;
    }
    .card{
        height: auto !important;
    }
}
.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--primary-black);
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
}

/* About Section */
.about-content {
    background-color: var(--bg-gray);
    padding: 60px;
    border-radius: 10px;
    margin: 2rem 0;
}

.mission-vision-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 26, 26, 0.05) 100%);
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-gold);
    margin: 2rem 0;
}

.mission-vision-box h3 {
    color: var(--primary-black);
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.mission-vision-box h3::before {
    content: '★';
    color: var(--primary-gold);
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Director Cards */
.director-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-gold);
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.director-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.director-card h4 {
    color: var(--primary-black);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.director-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.director-card a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.director-card a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Projects Section */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    background-color: transparent;
    padding: 50px 0;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 12px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

.contact-info {
    padding: 40px;
}

.contact-info-item {
    margin-bottom: 2rem;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info-item i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-right: 15px;
}

.contact-info-item h5 {
    color: var(--primary-black);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.footer a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

/* Video Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Features Section */
.feature-box {
    text-align: center;
    padding: 30px;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.feature-box h4 {
    color: var(--primary-black);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Hero Section Mobile Fixes */
    .hero-section h1,
    .hero-video-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-video-section {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero-video-section .hero-content {
        padding: 20px 15px;
    }
    
    .hero-video-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-video-section .lead {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* Hero Buttons Mobile */
    .hero-video-section .btn-gold,
    .hero-video-section .btn-outline-gold {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
        padding: 12px 20px;
    }
    
    .hero-video-section .btn-gold.me-3 {
        margin-right: 0 !important;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    /* Section Padding Mobile */
    .section {
        padding: 40px 0;
    }
    
    /* About Content Mobile */
    .about-content {
        padding: 25px 20px;
    }
    
    .mission-vision-box {
        padding: 20px 15px;
    }
    
    /* Cards Mobile */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    /* Feature Boxes Mobile */
    .feature-box {
        padding: 20px 15px;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-box h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Statistics Boxes Mobile */
    .feature-box h3 {
        font-size: 2rem !important;
    }
    
    /* About Section Mobile */
    .section-title[style*="text-align: left"] {
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Statistics Grid Mobile */
    .col-lg-6 .row .col-6 {
        margin-bottom: 1rem;
    }
    
    .col-lg-6 .feature-box {
        padding: 20px 15px;
    }
    
    .col-lg-6 .feature-box h3 {
        font-size: 1.75rem !important;
    }
    
    /* Services Cards Mobile */
    .col-md-6.col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Export Process Mobile */
    .col-md-6.col-lg-3 {
        margin-bottom: 1.5rem;
    }
    
    /* Quality Section Mobile */
    .col-lg-6 ul {
        padding-left: 20px;
    }
    
    .col-lg-6 ul li {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .cta-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 15px;
    }
    
    .cta-section .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem !important;
    }
    
    .cta-section .btn-gold,
    .cta-section .btn-outline-gold {
        width: 100%;
        max-width: 300px;
        display: block;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* Projects Preview Mobile */
    .col-md-6.col-lg-3 {
        margin-bottom: 1.5rem;
    }
    
    /* Buttons Mobile */
    .btn-gold,
    .btn-outline-gold {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    
    /* Navigation Mobile */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .navbar-brand .brand-tagline {
        font-size: 0.65rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-info {
        padding: 25px 20px;
        margin-top: 2rem;
    }
    
    /* Director Cards Mobile */
    .director-card {
        padding: 25px 15px;
        margin-bottom: 1.5rem;
    }
    
    .director-card h4 {
        font-size: 0.95rem;
        min-height: auto;
    }
    
    .director-card h5 {
        font-size: 1rem;
    }
    
    /* Subpage Header Mobile */
    .subpage-header {
        padding: 30px 0 15px !important;
        height: auto !important;
    }
    
    .subpage-header .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .subpage-header .lead {
        font-size: 1rem;
    }
    
    /* Projects Page Mobile */
    .row.mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .row.mb-5 .card {
        margin-bottom: 1.5rem;
    }
    
    /* Map Mobile */
    iframe {
        height: 300px !important;
    }
}

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 576px) {
    .hero-video-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-video-section .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .feature-box {
        padding: 15px 10px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-brand .brand-tagline {
        font-size: 0.6rem;
    }
    
    .about-content {
        padding: 20px 15px;
    }
    
    .mission-vision-box {
        padding: 15px 12px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .director-card {
        padding: 20px 12px;
    }
    
    .subpage-header {
        padding: 25px 0 12px !important;
    }
    
    .subpage-header .section-title {
        font-size: 1.5rem;
    }
    
    /* Ensure text doesn't overflow */
    p, .lead {
        word-wrap: break-word;
    }
    
    /* Better spacing for stacked elements */
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-3 {
        margin-bottom: 1rem !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Call to Action Section with Background */
.cta-section {
    background-color: var(--primary-black);
    padding: 80px 0;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

