/* ========================================
   IRMS HOLDINGS - Corporate Website
   Modern Business Design
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    --primary-color: #003d82;
    --secondary-color: #c8a165;
    --accent-color: #005eb8;
    --dark-color: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-gray: #6c757d;
    --gradient-primary: linear-gradient(135deg, #003d82 0%, #005eb8 100%);
    --gradient-gold: linear-gradient(135deg, #c8a165 0%, #d4af37 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

section {
    padding: 100px 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 3px;
    font-family: 'Playfair Display', serif;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.95) 0%, rgba(0, 94, 184, 0.95) 100%),
                url('../img/hero-bg.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(200, 161, 101, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 94, 184, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(200, 161, 101, 0.2);
    border: 1px solid var(--secondary-color);
    border-radius: 30px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark-color);
    box-shadow: 0 5px 20px rgba(200, 161, 101, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 161, 101, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-down span {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* ========== STATS SECTION ========== */
.stats {
    background: var(--primary-color);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    font-family: 'Playfair Display', serif;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
    margin-left: 5px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ========== SECTION LABELS ========== */
.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 61, 130, 0.1);
    border-left: 3px solid var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.divider {
    width: 70px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 20px 0;
    border-radius: 2px;
}

/* ========== ABOUT SECTION ========== */
.about {
    background: white;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-gold);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.image-badge span {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    font-family: 'Playfair Display', serif;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.about-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-item i {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

/* ========== SERVICES SECTION ========== */
.services {
    background: var(--light-bg);
}

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

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ========== DIVISIONS SECTION ========== */
.divisions {
    background: white;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.division-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: center;
}

.division-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.division-header {
    margin-bottom: 20px;
}

.division-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.division-header h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.division-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== BRANDS SECTION ========== */
.brands {
    background: white;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.brand-card {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.brand-card.featured {
    border-color: var(--secondary-color);
    background: white;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.brand-logo {
    position: relative;
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-card.featured .brand-logo {
    background: var(--gradient-gold);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.brand-logo img.loaded {
    opacity: 1;
}

.brand-logo-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.brand-logo-placeholder span {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    font-family: 'Playfair Display', serif;
}

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

.brand-content h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.brand-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-content > p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.brand-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.brand-features i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.brand-card.featured .brand-link {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.brand-link:hover {
    background: var(--primary-color);
    color: white;
}

.brand-card.featured .brand-link:hover {
    background: var(--gradient-gold);
    color: var(--dark-color);
}

/* ========== VALUES SECTION ========== */
.values {
    background: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-icon i {
    font-size: 2.5rem;
    color: white;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mission-box,
.vision-box {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-color);
}

.mission-box i,
.vision-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.mission-box h3,
.vision-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.mission-box p,
.vision-box p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ========== CONTACT SECTION ========== */
.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    gap: 25px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-details p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--light-bg);
    padding: 45px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 2.5rem;
    color: white;
}

.footer-logo .logo-sub {
    color: var(--secondary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient-gold);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #d4af37;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        border-top: 1px solid #e9ecef;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        padding: 80px 0;
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .brands-grid,
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .divisions-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-features {
        margin-bottom: 20px;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

